mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
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:
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user