From: Brian Dolbec Date: Sun, 13 Nov 2016 19:07:35 +0000 (-0800) Subject: dev-python/uncompyle6: Fix unconditional/missed setup.py test dep X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9301e93e2cd907717b466693e0564cbfda6364dd;p=gentoo.git dev-python/uncompyle6: Fix unconditional/missed setup.py test dep Fix incorrect pypi id. Package-Manager: portage-2.3.2_p3 --- 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 @@ rb@dustyfeet.com Rocky Bernstein - PyQRCode + uncompyle6 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.