dev-python/pip-api: add test dep

Closes: https://bugs.gentoo.org/823014
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-12-10 12:00:10 +05:00
parent a91a46a785
commit a935227f8b

View File

@@ -3,7 +3,6 @@
EAPI=8
EPYTEST_DESELECT=( tests/test_installed_distributions.py::test_installed_distributions_legacy_version )
DISTUTILS_SETUPTOOLS="pyproject.toml"
PYTHON_COMPAT=( python3_{8..10} pypy3 )
@@ -22,8 +21,13 @@ RDEPEND="${DEPEND}"
BDEPEND="
test? (
dev-python/pretend[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
tests/test_installed_distributions.py::test_installed_distributions_legacy_version
)