dev-python/uncompyle6: Fix unconditional/missed setup.py test dep

Fix incorrect pypi id.

Package-Manager: portage-2.3.2_p3
This commit is contained in:
Brian Dolbec
2016-11-13 11:07:35 -08:00
parent 099ba4c898
commit 9301e93e2c
2 changed files with 10 additions and 1 deletions

View File

@@ -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>

View File

@@ -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.