commit: 991de7b1b7ccc6c4ae0ea3a1bd75f7bd7cbc902e
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar 14 02:23:14 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Mar 14 02:41:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=991de7b1
dev-python/pytest-randomly: add 3.11.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/pytest-randomly/Manifest | 1 +
.../pytest-randomly/pytest-randomly-3.11.0.ebuild | 38 ++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/dev-python/pytest-randomly/Manifest
b/dev-python/pytest-randomly/Manifest
index f9a707eb9..e6374a38f 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1 +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
diff --git a/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild
b/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild
new file mode 100644
index 000000000..8ab7359c6
--- /dev/null
+++ b/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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://github.com/pytest-dev/pytest-randomly
+"
+SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+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/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9})
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+ distutils_install_for_testing --via-root
+ pytest -vv || die "Testsuite failed under ${EPYTHON}"
+}