dev-python/pypiserver: Check for dev-python/twice w/ PYTHON_USEDEP

Closes: https://bugs.gentoo.org/935486
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-05 19:35:43 +02:00
parent 888010df43
commit bc68f7aa3f

View File

@@ -67,7 +67,7 @@ python_test() {
tests/test_main.py::test_auto_servers
)
if ! has_version dev-python/twine; then
if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
tests/test_server.py::test_twine_upload
tests/test_server.py::test_twine_register