mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
dev-python/pytest-randomly: enable py3.11
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
PYTHON_COMPAT=( python3_{9..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="Pytest plugin to randomly order tests and control random.seed"
|
DESCRIPTION="Pytest plugin to randomly order tests and control random.seed"
|
||||||
@@ -19,17 +18,15 @@ LICENSE="BSD"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
BDEPEND="
|
||||||
$(python_gen_cond_dep '>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9})
|
test? (
|
||||||
"
|
dev-python/Faker[${PYTHON_USEDEP}]
|
||||||
# tests pytest-xdist integration
|
dev-python/factory-boy[${PYTHON_USEDEP}]
|
||||||
BDEPEND="test? (
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
dev-python/factory-boy[${PYTHON_USEDEP}]
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
dev-python/Faker[${PYTHON_USEDEP}]
|
)
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
" # tests pytest-xdist integration
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
EPYTEST_DESELECT=(
|
||||||
tests/test_pytest_randomly.py::test_entrypoint_injection
|
tests/test_pytest_randomly.py::test_entrypoint_injection
|
||||||
Reference in New Issue
Block a user