diff options
author | David Seifert <soap@gentoo.org> | 2020-12-29 14:05:32 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-12-29 14:05:32 +0100 |
commit | 155cb064c89db765967169fa35bdab8a144bf83c (patch) | |
tree | b135b7d6be92bf0c314eb46597ed90fd4662c52b /dev-python/pydotplus | |
parent | sci-libs/clblas: Remove old 2.10 (diff) | |
download | gentoo-155cb064c89db765967169fa35bdab8a144bf83c.tar.gz gentoo-155cb064c89db765967169fa35bdab8a144bf83c.tar.bz2 gentoo-155cb064c89db765967169fa35bdab8a144bf83c.zip |
dev-python/pydotplus: Fix test phase and add py3.9
Closes: https://bugs.gentoo.org/719404
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/pydotplus')
-rw-r--r-- | dev-python/pydotplus/pydotplus-2.0.2.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/dev-python/pydotplus/pydotplus-2.0.2.ebuild b/dev-python/pydotplus/pydotplus-2.0.2.ebuild index c8aa79de634c..0c5a24a0433f 100644 --- a/dev-python/pydotplus/pydotplus-2.0.2.ebuild +++ b/dev-python/pydotplus/pydotplus-2.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -14,19 +14,16 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/pyparsing[${PYTHON_USEDEP}] - media-gfx/graphviz -" -DEPEND="test? ( ${RDEPEND} )" + media-gfx/graphviz" -PATCHES=( "${FILESDIR}/${P}-tests.patch" ) +distutils_enable_tests unittest + +PATCHES=( "${FILESDIR}"/${P}-tests.patch ) python_test() { - pushd test > /dev/null || die - python pydot_unittest.py || die - popd > /dev/null || die + cd test || die + "${EPYTHON}" pydot_unittest.py || die } |