From c891eddfe7e670682429b99cba478c6156c646c4 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sat, 14 May 2022 15:46:49 +0200 Subject: [PATCH] dev-python/pytest-randomly: add 3.12.0, drop 3.10.1 Signed-off-by: Alessandro Barbieri --- dev-python/pytest-randomly/Manifest | 2 +- ...-3.10.1.ebuild => pytest-randomly-3.12.0.ebuild} | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) rename dev-python/pytest-randomly/{pytest-randomly-3.10.1.ebuild => pytest-randomly-3.12.0.ebuild} (72%) diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest index e6374a38f1..e129eead22 100644 --- a/dev-python/pytest-randomly/Manifest +++ b/dev-python/pytest-randomly/Manifest @@ -1,2 +1,2 @@ -DIST pytest-randomly-3.10.1.tar.gz 28000 BLAKE2B 662f28e34db5dace9d421d91bb8baf3775c7e5163fa93eeb12cbe3de251ea5425d995301e193253f55a602d98deeaf0dc2e676be9bdb7a97db93ba54fa9cfa5f SHA512 d93e017df706d7021ff3f4682b4ed65d474177a60e303455685266d47a0a214e4f30b2f7dd150768de711d602ca1d22e2cfeca2703a7139cfaab97e3424afa1c DIST pytest-randomly-3.11.0.tar.gz 30822 BLAKE2B 81411f8882f786c18ded69d42296117421498515ed0808064b4da418f94be5aa6e0dedf1dabf0e87f8f508b9cc886f8b645e4b5f845009cade4f20b8f437dd95 SHA512 6c2da071492d032b60782c17aee01751fe0728f921dfd192a17d9be95330ddf6dd0c960ef93a200dbe990c8457340008c556f28aea9cbc74677984fee0618ad7 +DIST pytest-randomly-3.12.0.tar.gz 30426 BLAKE2B 22e7ac58787a98b24a672f2fc2fdba8069213008f11c66eb05320be99662311b0273b0c32079d59792964075abe6fd2f224ce03eb0d3b2dcf0a79e180f1a067e SHA512 e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d diff --git a/dev-python/pytest-randomly/pytest-randomly-3.10.1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild similarity index 72% rename from dev-python/pytest-randomly/pytest-randomly-3.10.1.ebuild rename to dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild index 7801000c4b..15bc5f92d5 100644 --- a/dev-python/pytest-randomly/pytest-randomly-3.10.1.ebuild +++ b/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild @@ -1,15 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" HOMEPAGE=" - https://pypi.python.org/pypi/pytest-randomly + https://pypi.python.org/pypi/pytest-randomly/ https://github.com/pytest-dev/pytest-randomly " SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -21,10 +22,10 @@ KEYWORDS="~amd64" RDEPEND=" dev-python/factory_boy[${PYTHON_USEDEP}] dev-python/Faker[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' python3_{8..10}) $(python_gen_cond_dep '>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9}) " DEPEND="${RDEPEND}" @@ -33,7 +34,5 @@ distutils_enable_tests pytest python_test() { distutils_install_for_testing --via-root - pytest -vv \ - --deselect tests/test_pytest_randomly.py::test_entrypoint_injection \ - || die "Testsuite failed under ${EPYTHON}" + pytest -vv || die "Testsuite failed under ${EPYTHON}" }