dev-python/pytest-randomly: add py3.9

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-12-18 19:18:52 +01:00
parent e216140ff0
commit 00deeb7f2e
3 changed files with 5 additions and 58 deletions

View File

@@ -3,8 +3,7 @@
EAPI="7"
DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
@@ -29,16 +28,14 @@ RDEPEND="
$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7)
$(python_gen_cond_dep 'dev-python/pygments[${PYTHON_USEDEP}]' python3_9)
"
DEPEND="
test? (
dev-python/pytest-randomly[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
BDEPEND="test? (
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
python_test() {
distutils_install_for_testing --via-root
pytest -vv \
--deselect tests/test_pytest_randomly.py::test_entrypoint_injection \
--deselect tests/test_pytest_randomly.py::test_classes_reordered \