diff options
author | 2016-11-13 11:07:35 -0800 | |
---|---|---|
committer | 2016-11-13 11:35:50 -0800 | |
commit | 9301e93e2cd907717b466693e0564cbfda6364dd (patch) | |
tree | 90491d5475056979684de2f9b1a4a1babc6f02e1 /dev-python/uncompyle6 | |
parent | dev-python/xdis: Version bump (diff) | |
download | gentoo-9301e93e2cd907717b466693e0564cbfda6364dd.tar.gz gentoo-9301e93e2cd907717b466693e0564cbfda6364dd.tar.bz2 gentoo-9301e93e2cd907717b466693e0564cbfda6364dd.zip |
dev-python/uncompyle6: Fix unconditional/missed setup.py test dep
Fix incorrect pypi id.
Package-Manager: portage-2.3.2_p3
Diffstat (limited to 'dev-python/uncompyle6')
-rw-r--r-- | dev-python/uncompyle6/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/uncompyle6/uncompyle6-2.8.3.ebuild | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/dev-python/uncompyle6/metadata.xml b/dev-python/uncompyle6/metadata.xml index e05009f60561..4a9733851415 100644 --- a/dev-python/uncompyle6/metadata.xml +++ b/dev-python/uncompyle6/metadata.xml @@ -14,7 +14,7 @@ <email>rb@dustyfeet.com</email> <name>Rocky Bernstein</name> </maintainer> - <remote-id type="pypi">PyQRCode</remote-id> + <remote-id type="pypi">uncompyle6</remote-id> </upstream> <longdescription></longdescription> </pkgmetadata> diff --git a/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild b/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild index 1fdfe44f5ee9..3007cb166c0a 100644 --- a/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild +++ b/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild @@ -20,12 +20,21 @@ RDEPEND=">=dev-python/xdis-2.3.0 >=dev-python/spark-parser-1.4.0" DEPEND="${RDEPEND} test? ( + >=dev-python/nose-1.0[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/hypothesis[${PYTHON_USEDEP}] ) " +python_prepare_all() { + # Fix an unconditional test only dep + sed \ + -e "s/setup_requires/tests_require/" \ + -i setup.py + distutils-r1_python_prepare_all +} + # Tests are somewhat sketchy... # the main repo has makefiles and commands that don't reflect the actual # available options for the commands they are giving. |