From 9301e93e2cd907717b466693e0564cbfda6364dd Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sun, 13 Nov 2016 11:07:35 -0800 Subject: [PATCH] dev-python/uncompyle6: Fix unconditional/missed setup.py test dep Fix incorrect pypi id. Package-Manager: portage-2.3.2_p3 --- dev-python/uncompyle6/metadata.xml | 2 +- dev-python/uncompyle6/uncompyle6-2.8.3.ebuild | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/uncompyle6/metadata.xml b/dev-python/uncompyle6/metadata.xml index e05009f60561c..4a97338514150 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 1fdfe44f5ee9d..3007cb166c0af 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.