diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-05 06:34:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-05 06:50:18 +0100 |
commit | a92b281140c971deef2141281279c5acca242eb5 (patch) | |
tree | e6fbde991686015bf84571e69a20b9b1e169fc97 /dev-python/pygraphviz/pygraphviz-1.3.1.ebuild | |
parent | dev-python/docker-pycreds: Remove py2 (diff) | |
download | gentoo-a92b281140c971deef2141281279c5acca242eb5.tar.gz gentoo-a92b281140c971deef2141281279c5acca242eb5.tar.bz2 gentoo-a92b281140c971deef2141281279c5acca242eb5.zip |
dev-python/pygraphviz: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygraphviz/pygraphviz-1.3.1.ebuild')
-rw-r--r-- | dev-python/pygraphviz/pygraphviz-1.3.1.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild b/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild deleted file mode 100644 index 174617915ba2..000000000000 --- a/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" -HOMEPAGE="http://pygraphviz.github.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="examples test" -RESTRICT="!test? ( test )" - -# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. -RDEPEND="media-gfx/graphviz" -DEPEND="${RDEPEND} - dev-lang/swig:0 - test? ( - dev-python/doctest-ignore-unicode[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-docs.patch - "${FILESDIR}"/${P}-swig-3.patch -) - -python_prepare_all() { - distutils-r1_python_prepare_all - swig -python pygraphviz/graphviz.i || die -} - -python_test() { - PYTHONPATH=${PYTHONPATH}:${BUILD_DIR}/lib/pygraphviz \ - nosetests -c setup.cfg -x -v || die -} - -python_install_all() { - use examples && local EXAMPLES=( examples/. ) - - distutils-r1_python_install_all -} |