diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-07-29 23:21:03 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-07-29 23:21:03 +0000 |
commit | 551545225f2702626e9a63c75198254e616c267c (patch) | |
tree | 8f8b8bc65bfd999de78ec1e7d075048bbfc72fb5 /dev-python/pygraphviz | |
parent | Version bump (diff) | |
download | gentoo-2-551545225f2702626e9a63c75198254e616c267c.tar.gz gentoo-2-551545225f2702626e9a63c75198254e616c267c.tar.bz2 gentoo-2-551545225f2702626e9a63c75198254e616c267c.zip |
Version bump
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygraphviz')
-rw-r--r-- | dev-python/pygraphviz/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygraphviz/pygraphviz-1.1.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/pygraphviz/ChangeLog b/dev-python/pygraphviz/ChangeLog index 0122b8c23b9b..449739dc44ae 100644 --- a/dev-python/pygraphviz/ChangeLog +++ b/dev-python/pygraphviz/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pygraphviz # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.9 2011/06/22 19:01:32 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.10 2011/07/29 23:21:03 bicatali Exp $ + +*pygraphviz-1.1 (29 Jul 2011) + + 29 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org> +pygraphviz-1.1.ebuild: + Version bump 22 Jun 2011; Fabian Groffen <grobian@gentoo.org> pygraphviz-1.0-r1.ebuild: Marked ~x64-macos, bug #371861 diff --git a/dev-python/pygraphviz/pygraphviz-1.1.ebuild b/dev-python/pygraphviz/pygraphviz-1.1.ebuild new file mode 100644 index 000000000000..db292036eb88 --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-1.1.ebuild,v 1.1 2011/07/29 23:21:03 bicatali Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils eutils + +DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" +HOMEPAGE="http://networkx.lanl.gov/pygraphviz/ http://pypi.python.org/pypi/pygraphviz" +SRC_URI="http://networkx.lanl.gov/download/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="examples" + +RDEPEND=">=media-gfx/graphviz-2.12" +DEPEND="${RDEPEND}" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}"/${PN}-1.0-setup.py.patch +} + +src_test() { + testing() { + "$(PYTHON)" -c "import sys; sys.path.insert(0, '$(ls -d build-${PYTHON_ABI}/lib.*)'); import pygraphviz.tests; pygraphviz.tests.run()" + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die "Installation of examples failed" + fi + + delete_tests() { + rm -fr "${ED}$(python_get_sitedir)/${PN}/tests" + } + python_execute_function -q delete_tests +} |