commit: 1bef9af981f13d209f9cfe393d3d515ef65d36ea Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Thu Mar 16 13:54:40 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu Mar 16 13:54:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bef9af9
dev-python/pytest-randomly: enable py3.11 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> ...2.0.ebuild => pytest-randomly-3.12.0-r1.ebuild} | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.12.0-r1.ebuild similarity index 74% rename from dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild rename to dev-python/pytest-randomly/pytest-randomly-3.12.0-r1.ebuild index 0bdfe9710..b67d4e9e7 100644 --- a/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild +++ b/dev-python/pytest-randomly/pytest-randomly-3.12.0-r1.ebuild @@ -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 EAPI=8 +PYTHON_COMPAT=( python3_{10..11} ) DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) - inherit distutils-r1 DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" @@ -19,17 +18,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] - $(python_gen_cond_dep '>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9}) -" -# tests pytest-xdist integration -BDEPEND="test? ( - dev-python/factory-boy[${PYTHON_USEDEP}] - dev-python/Faker[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] -)" +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/Faker[${PYTHON_USEDEP}] + dev-python/factory-boy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" # tests pytest-xdist integration EPYTEST_DESELECT=( tests/test_pytest_randomly.py::test_entrypoint_injection