public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2020-04-27 21:24 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2020-04-27 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     a25775e33e4db18fdef2f29aa94725d94cd7e8ef
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 27 21:15:58 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 27 21:24:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a25775e3

dev-python/pytest-randomly: deps cleanup

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/metadata.xml            |  7 ++++
 .../pytest-randomly-3.3.1-r1.ebuild                | 46 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/pytest-randomly/metadata.xml b/dev-python/pytest-randomly/metadata.xml
index 46c4254..e9b1d80 100644
--- a/dev-python/pytest-randomly/metadata.xml
+++ b/dev-python/pytest-randomly/metadata.xml
@@ -29,6 +29,13 @@ By resetting the random seed to a repeatable number for each test, tests can cre
 This plugin is a Pytest port of my plugin for nose, nose-randomly. I’ve written a blog post on its history.
   </longdescription>
   <upstream>
+    <bugs-to>https://github.com/pytest-dev/pytest-randomly/issues</bugs-to>
+    <changelog>https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst</changelog>
+    <maintainer status="active">
+      <email>me@adamj.eu</email>
+      <name>Adam Johnson</name>
+    </maintainer>
+    <remote-id type="pypi">pytest-randomly</remote-id>
     <remote-id type="github">pytest-dev/pytest-randomly</remote-id>
   </upstream>
 </pkgmetadata>

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
new file mode 100644
index 0000000..be8f908
--- /dev/null
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~x86"
+
+RDEPEND="
+	dev-python/docutils[${PYTHON_USEDEP}]
+	dev-python/factory_boy[${PYTHON_USEDEP}]
+	dev-python/faker[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+
+	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
+"
+#not really needed
+#	dev-python/isort[${PYTHON_USEDEP}]
+#	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
+#	dev-python/secretstorage[${PYTHON_USEDEP}]
+#	dev-python/twine[${PYTHON_USEDEP}]
+
+DEPEND="
+	test? (
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+#not really needed
+#		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
+#		dev-python/multilint[${PYTHON_USEDEP}]
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2023-03-16 13:59 Anna Vyalkova
  0 siblings, 0 replies; 18+ messages in thread
From: Anna Vyalkova @ 2023-03-16 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     1bef9af981f13d209f9cfe393d3d515ef65d36ea
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Mar 16 13:54:40 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
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


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2022-06-01  5:03 Anna Vyalkova
  0 siblings, 0 replies; 18+ messages in thread
From: Anna Vyalkova @ 2022-06-01  5:03 UTC (permalink / raw
  To: gentoo-commits

commit:     d9a8752fe4e6b3553fee3c8a744b5c70274fbcd1
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun  1 02:42:42 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jun  1 05:02:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9a8752f

dev-python/pytest-randomly: fix tests and deps

Closes: https://bugs.gentoo.org/823011
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-randomly/Manifest                |  2 +-
 .../pytest-randomly/pytest-randomly-3.12.0.ebuild  | 34 ++++++++++++++++------
 2 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index 0689b4453..083bee428 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1 +1 @@
-DIST pytest-randomly-3.12.0.tar.gz 30426 BLAKE2B 22e7ac58787a98b24a672f2fc2fdba8069213008f11c66eb05320be99662311b0273b0c32079d59792964075abe6fd2f224ce03eb0d3b2dcf0a79e180f1a067e SHA512 e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d
+DIST pytest-randomly-3.12.0.gh.tar.gz 30426 BLAKE2B 22e7ac58787a98b24a672f2fc2fdba8069213008f11c66eb05320be99662311b0273b0c32079d59792964075abe6fd2f224ce03eb0d3b2dcf0a79e180f1a067e SHA512 e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild
index 26f2f90a4..e951ea6aa 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild
@@ -13,26 +13,42 @@ 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"
+SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="
-	dev-python/factory_boy[${PYTHON_USEDEP}]
-	dev-python/Faker[${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}"
+# 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}]
+)"
+
+EPYTEST_DESELECT=(
+	tests/test_pytest_randomly.py::test_entrypoint_injection
+	tests/test_pytest_randomly.py::test_it_runs_before_stepwise
+	tests/test_pytest_randomly.py::test_works_without_xdist
+
+	# Output mismatch
+	tests/test_pytest_randomly.py::test_class_test_methods_reordered
+	tests/test_pytest_randomly.py::test_classes_reordered
+	tests/test_pytest_randomly.py::test_doctests_in_txt_files_reordered
+	tests/test_pytest_randomly.py::test_doctests_reordered
+	tests/test_pytest_randomly.py::test_files_reordered
+	tests/test_pytest_randomly.py::test_files_reordered_when_seed_not_reset
+	tests/test_pytest_randomly.py::test_test_functions_reordered
+	tests/test_pytest_randomly.py::test_test_functions_reordered_when_randomness_in_module
+)
 
 distutils_enable_tests pytest
 
 python_test() {
-	distutils_install_for_testing --via-root
-	pytest -vv || die "Testsuite failed under ${EPYTHON}"
+	epytest -p no:randomly
 }


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2022-05-30 17:21 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2022-05-30 17:21 UTC (permalink / raw
  To: gentoo-commits

commit:     a0678ba19019570bdcc31e0a16f7958e34c075d3
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 30 17:14:17 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 30 17:14:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0678ba1

dev-python/pytest-randomly: drop 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 deletions(-)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index e129eead2..0689b4453 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1,2 +1 @@
-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.11.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild
deleted file mode 100644
index 8ab7359c6..000000000
--- a/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# 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}"
-}


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2022-03-14  2:41 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2022-03-14  2:41 UTC (permalink / raw
  To: gentoo-commits

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}"
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2021-11-02  3:40 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2021-11-02  3:40 UTC (permalink / raw
  To: gentoo-commits

commit:     34c5288bd1bdd4a428619511de37a72b56311522
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Nov  1 20:34:04 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Nov  2 03:40:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34c5288b

dev-python/pytest-randomly: add 3.10.1, drop 3.8.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/Manifest                          |  2 +-
 ...t-randomly-3.8.0.ebuild => pytest-randomly-3.10.1.ebuild} | 12 ++++--------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index 7ec2d1286..f9a707eb9 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1 +1 @@
-DIST pytest-randomly-3.8.0.tar.gz 26376 BLAKE2B b51fb09e887fb20783edaecc6494d22c9e66c4c87aabe5368f85b492681c29c9283ddc70821801442d4908a76ba64e70ee04433f5bd3639bae0cf198c950dcb1 SHA512 eabed09478f3047f181b4efe1057d15dda5686f85d3321083fbd443e5dd036f9fc9bfca2048ff898a194d59349e46ebf6258f03caccf649e891bb0bc6d6ef863
+DIST pytest-randomly-3.10.1.tar.gz 28000 BLAKE2B 662f28e34db5dace9d421d91bb8baf3775c7e5163fa93eeb12cbe3de251ea5425d995301e193253f55a602d98deeaf0dc2e676be9bdb7a97db93ba54fa9cfa5f SHA512 d93e017df706d7021ff3f4682b4ed65d474177a60e303455685266d47a0a214e4f30b2f7dd150768de711d602ca1d22e2cfeca2703a7139cfaab97e3424afa1c

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.10.1.ebuild
similarity index 81%
rename from dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
rename to dev-python/pytest-randomly/pytest-randomly-3.10.1.ebuild
index ec85af5d7..7801000c4 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.10.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8,9} )
 
@@ -19,19 +19,15 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="
-	dev-python/docutils[${PYTHON_USEDEP}]
 	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/pygments[${PYTHON_USEDEP}]' python3_9)
-"
-BDEPEND="
-	test? (
-		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
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2021-06-15 12:22 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2021-06-15 12:22 UTC (permalink / raw
  To: gentoo-commits

commit:     74ee50ef3cc41d25acb889974b3231e887f42e8f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 15 12:16:11 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 15 12:22:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74ee50ef

dev-python/pytest-randomly: exclude failing test

Closes: https://bugs.gentoo.org/796203
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
index fe9d7905c..ec85af5d7 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
@@ -37,5 +37,7 @@ distutils_enable_tests pytest
 
 python_test() {
 	distutils_install_for_testing --via-root
-	pytest -vv || die "Testsuite failed under ${EPYTHON}"
+	pytest -vv \
+		--deselect tests/test_pytest_randomly.py::test_entrypoint_injection \
+		|| die "Testsuite failed under ${EPYTHON}"
 }


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2021-06-14 23:09 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2021-06-14 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     3f089986479ca0aac15870bef4c4b1ad9bb7907f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 22:49:47 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 14 23:09:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f089986

dev-python/pytest-randomly: drop 3.5.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/Manifest                |  1 -
 .../pytest-randomly/pytest-randomly-3.5.0.ebuild   | 50 ----------------------
 2 files changed, 51 deletions(-)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index fcc746d43..7ec2d1286 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1,2 +1 @@
-DIST pytest-randomly-3.5.0.tar.gz 36605 BLAKE2B 1e993f7b0cec9fede1fd22c9be06ca34b884ea67183e13197e59359ebb5b8a6bc86715b117f379d72c11eec85fe31c3f4cb1dd7c2bae1412dabd630ddff81bbf SHA512 ed5cc11799e38caaa899ab25f75469baa2c57a5113c3e51129c4cee801b0eded57f6165113f8cb5a8c995057569c224b9039d601b361b9e95553dc8cb338b368
 DIST pytest-randomly-3.8.0.tar.gz 26376 BLAKE2B b51fb09e887fb20783edaecc6494d22c9e66c4c87aabe5368f85b492681c29c9283ddc70821801442d4908a76ba64e70ee04433f5bd3639bae0cf198c950dcb1 SHA512 eabed09478f3047f181b4efe1057d15dda5686f85d3321083fbd443e5dd036f9fc9bfca2048ff898a194d59349e46ebf6258f03caccf649e891bb0bc6d6ef863

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
deleted file mode 100644
index 3608c8848..000000000
--- a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7,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/docutils[${PYTHON_USEDEP}]
-	dev-python/factory_boy[${PYTHON_USEDEP}]
-	dev-python/Faker[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pytest[${PYTHON_USEDEP}]
-
-	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7)
-	$(python_gen_cond_dep 'dev-python/pygments[${PYTHON_USEDEP}]' python3_9)
-"
-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 \
-		--deselect tests/test_pytest_randomly.py::test_doctests_reordered \
-		--deselect tests/test_pytest_randomly.py::test_class_test_methods_reordered \
-		--deselect tests/test_pytest_randomly.py::test_files_reordered \
-		--deselect tests/test_pytest_randomly.py::test_test_functions_reordered \
-		--deselect tests/test_pytest_randomly.py::test_test_functions_reordered_when_randomness_in_module \
-		--deselect tests/test_pytest_randomly.py::test_files_reordered_when_seed_not_reset \
-		--deselect tests/test_pytest_randomly.py::test_doctests_in_txt_files_reordered \
-	|| die "Testsuite failed under ${EPYTHON}"
-}


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2021-06-14  2:27 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2021-06-14  2:27 UTC (permalink / raw
  To: gentoo-commits

commit:     ac74d17dfd56f9ec5364bb9ce2c5e4cb29268c0b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 00:20:51 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 14 02:27:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac74d17d

dev-python/pytest-randomly: add 3.8.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/Manifest                |  1 +
 .../pytest-randomly/pytest-randomly-3.8.0.ebuild   | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index f81f4c913..fcc746d43 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1 +1,2 @@
 DIST pytest-randomly-3.5.0.tar.gz 36605 BLAKE2B 1e993f7b0cec9fede1fd22c9be06ca34b884ea67183e13197e59359ebb5b8a6bc86715b117f379d72c11eec85fe31c3f4cb1dd7c2bae1412dabd630ddff81bbf SHA512 ed5cc11799e38caaa899ab25f75469baa2c57a5113c3e51129c4cee801b0eded57f6165113f8cb5a8c995057569c224b9039d601b361b9e95553dc8cb338b368
+DIST pytest-randomly-3.8.0.tar.gz 26376 BLAKE2B b51fb09e887fb20783edaecc6494d22c9e66c4c87aabe5368f85b492681c29c9283ddc70821801442d4908a76ba64e70ee04433f5bd3639bae0cf198c950dcb1 SHA512 eabed09478f3047f181b4efe1057d15dda5686f85d3321083fbd443e5dd036f9fc9bfca2048ff898a194d59349e46ebf6258f03caccf649e891bb0bc6d6ef863

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
new file mode 100644
index 000000000..fe9d7905c
--- /dev/null
+++ b/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+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/docutils[${PYTHON_USEDEP}]
+	dev-python/factory_boy[${PYTHON_USEDEP}]
+	dev-python/Faker[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
+
+	$(python_gen_cond_dep 'dev-python/pygments[${PYTHON_USEDEP}]' python3_9)
+"
+BDEPEND="
+	test? (
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	distutils_install_for_testing --via-root
+	pytest -vv || die "Testsuite failed under ${EPYTHON}"
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2021-04-14  9:05 Theo Anderson
  0 siblings, 0 replies; 18+ messages in thread
From: Theo Anderson @ 2021-04-14  9:05 UTC (permalink / raw
  To: gentoo-commits

commit:     f071e40578a927c3288e5dac35c0d53470848c2f
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Wed Apr 14 09:04:21 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Wed Apr 14 09:04:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f071e405

dev-python/pytest-randomly: drop x86

Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
index d26ebd552..3608c8848 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 RDEPEND="
 	dev-python/docutils[${PYTHON_USEDEP}]


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-randomly/
@ 2020-12-18 19:05 Andrew Ammerlaan
  2020-12-18 19:05 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-12-18 19:05 UTC (permalink / raw
  To: gentoo-commits

commit:     00deeb7f2e977ca2cb6aed0e8290ac01489dabcc
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Dec 18 18:18:52 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Dec 18 18:18:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00deeb7f

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

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/pytest-randomly/Manifest                |  1 -
 .../pytest-randomly/pytest-randomly-3.4.1.ebuild   | 49 ----------------------
 .../pytest-randomly/pytest-randomly-3.5.0.ebuild   | 13 +++---
 3 files changed, 5 insertions(+), 58 deletions(-)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index 68c4d05f..f81f4c91 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1,2 +1 @@
-DIST pytest-randomly-3.4.1.tar.gz 32468 BLAKE2B 6aaddfca7434a8b7060aa32d69f84ff5e03e5f43bcfdfacc56f792ba6e1a1f5f49dca641a0100ed4ddf0f6947017aa354ab4fcc2ad837bb5b072aab8142f07b6 SHA512 3f1006ce67478221fb57369f6b0dcbb41bdd38798059112cff2e113ab101a4d07e72e5f302ffdf6159cc8600999f691f0f665fda4c0fcf58bba3c4fe5a12c039
 DIST pytest-randomly-3.5.0.tar.gz 36605 BLAKE2B 1e993f7b0cec9fede1fd22c9be06ca34b884ea67183e13197e59359ebb5b8a6bc86715b117f379d72c11eec85fe31c3f4cb1dd7c2bae1412dabd630ddff81bbf SHA512 ed5cc11799e38caaa899ab25f75469baa2c57a5113c3e51129c4cee801b0eded57f6165113f8cb5a8c995057569c224b9039d601b361b9e95553dc8cb338b368

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild
deleted file mode 100644
index ba4a52f4..00000000
--- a/dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8} )
-
-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 ~x86"
-
-# No clue what's going on here
-# AssertionError: assert ['collecting ... collected 4 items',\n '',\n 'test_one.py::test_d PASSED',\n 'test_one.py::test_c PASSED'] == 
-# ['test_one.py::test_d PASSED',\n 'test_one.py::test_c PASSED',\n 'test_one.py::test_a PASSED',\n 'test_one.py::test_b PASSED']
-RESTRICT="test"
-
-RDEPEND="
-	dev-python/docutils[${PYTHON_USEDEP}]
-	dev-python/factory_boy[${PYTHON_USEDEP}]
-	dev-python/faker[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pygments[${PYTHON_USEDEP}]
-	dev-python/pytest[${PYTHON_USEDEP}]
-
-	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7)
-"
-
-DEPEND="
-	test? (
-		dev-python/pytest-xdist[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-	distutils_install_for_testing
-	pytest -vv --deselect tests/test_pytest_randomly.py::test_entrypoint_injection || die "Testsuite failed under ${EPYTHON}"
-}

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
index 36dac6ba..cd01e648 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
@@ -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 \


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2020-12-09 23:00 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2020-12-09 23:00 UTC (permalink / raw
  To: gentoo-commits

commit:     5196c14508ac0cbef01c137b551a164ea1a7a258
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Dec  9 22:36:25 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Dec  9 22:39:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5196c145

dev-python/pytest-randomly: new version

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/Manifest                |  1 +
 .../pytest-randomly/pytest-randomly-3.5.0.ebuild   | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index 03807ea5..68c4d05f 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1 +1,2 @@
 DIST pytest-randomly-3.4.1.tar.gz 32468 BLAKE2B 6aaddfca7434a8b7060aa32d69f84ff5e03e5f43bcfdfacc56f792ba6e1a1f5f49dca641a0100ed4ddf0f6947017aa354ab4fcc2ad837bb5b072aab8142f07b6 SHA512 3f1006ce67478221fb57369f6b0dcbb41bdd38798059112cff2e113ab101a4d07e72e5f302ffdf6159cc8600999f691f0f665fda4c0fcf58bba3c4fe5a12c039
+DIST pytest-randomly-3.5.0.tar.gz 36605 BLAKE2B 1e993f7b0cec9fede1fd22c9be06ca34b884ea67183e13197e59359ebb5b8a6bc86715b117f379d72c11eec85fe31c3f4cb1dd7c2bae1412dabd630ddff81bbf SHA512 ed5cc11799e38caaa899ab25f75469baa2c57a5113c3e51129c4cee801b0eded57f6165113f8cb5a8c995057569c224b9039d601b361b9e95553dc8cb338b368

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
new file mode 100644
index 00000000..36dac6ba
--- /dev/null
+++ b/dev-python/pytest-randomly/pytest-randomly-3.5.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=bdepend
+PYTHON_COMPAT=( python3_{7,8} )
+
+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 ~x86"
+
+RDEPEND="
+	dev-python/docutils[${PYTHON_USEDEP}]
+	dev-python/factory_boy[${PYTHON_USEDEP}]
+	dev-python/faker[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
+
+	$(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}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	pytest -vv \
+		--deselect tests/test_pytest_randomly.py::test_entrypoint_injection \
+		--deselect tests/test_pytest_randomly.py::test_classes_reordered \
+		--deselect tests/test_pytest_randomly.py::test_doctests_reordered \
+		--deselect tests/test_pytest_randomly.py::test_class_test_methods_reordered \
+		--deselect tests/test_pytest_randomly.py::test_files_reordered \
+		--deselect tests/test_pytest_randomly.py::test_test_functions_reordered \
+		--deselect tests/test_pytest_randomly.py::test_test_functions_reordered_when_randomness_in_module \
+		--deselect tests/test_pytest_randomly.py::test_files_reordered_when_seed_not_reset \
+		--deselect tests/test_pytest_randomly.py::test_doctests_in_txt_files_reordered \
+	|| die "Testsuite failed under ${EPYTHON}"
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-randomly/
@ 2020-08-28 15:26 Andrew Ammerlaan
  2020-08-28 15:26 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-08-28 15:26 UTC (permalink / raw
  To: gentoo-commits

commit:     72f44d1de88005a990707710c0b4009d7f59217b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Aug 28 15:14:10 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Aug 28 15:26:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72f44d1d

dev-python/pytest-randomly: version bump 3.4.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/pytest-randomly/Manifest                |  2 +-
 .../pytest-randomly-3.3.1-r1.ebuild                | 55 ----------------------
 ....3.1-r2.ebuild => pytest-randomly-3.4.1.ebuild} | 17 +++----
 3 files changed, 8 insertions(+), 66 deletions(-)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
index 8c9c377..03807ea 100644
--- a/dev-python/pytest-randomly/Manifest
+++ b/dev-python/pytest-randomly/Manifest
@@ -1 +1 @@
-DIST pytest-randomly-3.3.1.tar.gz 31404 BLAKE2B 28a77b2c7043ece3305e1971957b23a7188bf1889483c9747f2fe925bfe72e872d8e8f4a52e3dc372f9934dd81c3e88bbc9be52bc574605faed80e57fa852d3c SHA512 242274b1e9fcbb03278766ddd46e8d3dca2374f09db0d111feb0bebdabab4d46ecc63d17f17e692cf4adf662dd3b450f87fe14e248488acb4d3c629567d54458
+DIST pytest-randomly-3.4.1.tar.gz 32468 BLAKE2B 6aaddfca7434a8b7060aa32d69f84ff5e03e5f43bcfdfacc56f792ba6e1a1f5f49dca641a0100ed4ddf0f6947017aa354ab4fcc2ad837bb5b072aab8142f07b6 SHA512 3f1006ce67478221fb57369f6b0dcbb41bdd38798059112cff2e113ab101a4d07e72e5f302ffdf6159cc8600999f691f0f665fda4c0fcf58bba3c4fe5a12c039

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
deleted file mode 100644
index 89096d8..0000000
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-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 ~x86"
-
-# many failures, both with pytest-5 and 4
-RESTRICT="test"
-
-RDEPEND="
-	dev-python/docutils[${PYTHON_USEDEP}]
-	dev-python/factory_boy[${PYTHON_USEDEP}]
-	dev-python/faker[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pygments[${PYTHON_USEDEP}]
-	dev-python/pytest[${PYTHON_USEDEP}]
-
-	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
-"
-#not really needed
-#	dev-python/isort[${PYTHON_USEDEP}]
-#	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
-#	dev-python/secretstorage[${PYTHON_USEDEP}]
-#	dev-python/twine[${PYTHON_USEDEP}]
-
-DEPEND="
-	test? (
-		dev-python/pytest-xdist[${PYTHON_USEDEP}]
-	)
-"
-#not really needed
-#		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
-#		dev-python/multilint[${PYTHON_USEDEP}]
-
-distutils_enable_tests pytest
-
-python_test() {
-	distutils_install_for_testing
-	pytest -vv || die "Testsuite failed under ${EPYTHON}"
-}

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild
similarity index 71%
rename from dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild
rename to dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild
index 1e902ac..ba4a52f 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild
@@ -4,7 +4,7 @@
 EAPI="7"
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 
 inherit distutils-r1
 
@@ -19,6 +19,11 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+# No clue what's going on here
+# AssertionError: assert ['collecting ... collected 4 items',\n '',\n 'test_one.py::test_d PASSED',\n 'test_one.py::test_c PASSED'] == 
+# ['test_one.py::test_d PASSED',\n 'test_one.py::test_c PASSED',\n 'test_one.py::test_a PASSED',\n 'test_one.py::test_b PASSED']
+RESTRICT="test"
+
 RDEPEND="
 	dev-python/docutils[${PYTHON_USEDEP}]
 	dev-python/factory_boy[${PYTHON_USEDEP}]
@@ -27,22 +32,14 @@ RDEPEND="
 	dev-python/pygments[${PYTHON_USEDEP}]
 	dev-python/pytest[${PYTHON_USEDEP}]
 
-	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
+	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7)
 "
-#not really needed
-#	dev-python/isort[${PYTHON_USEDEP}]
-#	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
-#	dev-python/secretstorage[${PYTHON_USEDEP}]
-#	dev-python/twine[${PYTHON_USEDEP}]
 
 DEPEND="
 	test? (
 		dev-python/pytest-xdist[${PYTHON_USEDEP}]
 	)
 "
-#not really needed
-#		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
-#		dev-python/multilint[${PYTHON_USEDEP}]
 
 distutils_enable_tests pytest
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2020-05-19 19:46 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2020-05-19 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     db970c8bb1db3fb257a224159196f2785b05e272
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May 19 19:43:53 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May 19 19:46:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db970c8b

dev-python/pytest-randomly: disable failing test

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../pytest-randomly-3.3.1-r2.ebuild                | 52 ++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild
new file mode 100644
index 0000000..1e902ac
--- /dev/null
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~x86"
+
+RDEPEND="
+	dev-python/docutils[${PYTHON_USEDEP}]
+	dev-python/factory_boy[${PYTHON_USEDEP}]
+	dev-python/faker[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
+
+	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
+"
+#not really needed
+#	dev-python/isort[${PYTHON_USEDEP}]
+#	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
+#	dev-python/secretstorage[${PYTHON_USEDEP}]
+#	dev-python/twine[${PYTHON_USEDEP}]
+
+DEPEND="
+	test? (
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+#not really needed
+#		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
+#		dev-python/multilint[${PYTHON_USEDEP}]
+
+distutils_enable_tests pytest
+
+python_test() {
+	distutils_install_for_testing
+	pytest -vv --deselect tests/test_pytest_randomly.py::test_entrypoint_injection || die "Testsuite failed under ${EPYTHON}"
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-randomly/
@ 2020-05-19 11:24 Andrew Ammerlaan
  2020-05-19 11:13 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-05-19 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     238d11bdd648daa411015f6e07b1052bdaa0aaad
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue May 19 11:13:13 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue May 19 11:13:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=238d11bd

dev-python/pytest-randomly: make repoman happy

repoman was complaing about the lines starting with spaces

also, tests don't seem to be working

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
index 7aa75e0..89096d8 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
@@ -18,14 +18,17 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
+
+# many failures, both with pytest-5 and 4
+RESTRICT="test"
+
 RDEPEND="
 	dev-python/docutils[${PYTHON_USEDEP}]
 	dev-python/factory_boy[${PYTHON_USEDEP}]
 	dev-python/faker[${PYTHON_USEDEP}]
 	dev-python/numpy[${PYTHON_USEDEP}]
 	dev-python/pygments[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
 
 	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
 "
@@ -44,7 +47,9 @@ DEPEND="
 #		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
 #		dev-python/multilint[${PYTHON_USEDEP}]
 
+distutils_enable_tests pytest
+
 python_test() {
-    distutils_install_for_testing
-    pytest -vv || die "Testsuite failed under ${EPYTHON}"
+	distutils_install_for_testing
+	pytest -vv || die "Testsuite failed under ${EPYTHON}"
 }


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2020-05-18 18:39 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2020-05-18 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     e02da715d0ec8864974a94e61f0f21e3a6b9d08c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 18 17:11:59 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 18 17:11:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e02da715

dev-python/pytest-randomly: install before testing

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../pytest-randomly-3.3.1-r1.ebuild                |  8 +++-
 .../pytest-randomly/pytest-randomly-3.3.1.ebuild   | 47 ----------------------
 2 files changed, 6 insertions(+), 49 deletions(-)

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
index be8f908..7aa75e0 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
@@ -18,7 +18,8 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-
+IUSE="test"
+RESTRICT="!test? ( test )"
 RDEPEND="
 	dev-python/docutils[${PYTHON_USEDEP}]
 	dev-python/factory_boy[${PYTHON_USEDEP}]
@@ -43,4 +44,7 @@ DEPEND="
 #		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
 #		dev-python/multilint[${PYTHON_USEDEP}]
 
-distutils_enable_tests pytest
+python_test() {
+    distutils_install_for_testing
+    pytest -vv || die "Testsuite failed under ${EPYTHON}"
+}

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
deleted file mode 100644
index b28fd46..0000000
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-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 ~x86"
-IUSE="test"
-RESTRICT="test"
-
-RDEPEND="
-	dev-python/docutils[${PYTHON_USEDEP}]
-	dev-python/factory_boy[${PYTHON_USEDEP}]
-	dev-python/faker[${PYTHON_USEDEP}]
-	dev-python/isort[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pygments[${PYTHON_USEDEP}]
-	dev-python/secretstorage[${PYTHON_USEDEP}]
-	dev-python/twine[${PYTHON_USEDEP}]
-
-	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
-"
-#	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
-
-#DEPEND="
-#	test? (
-#		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
-#		dev-python/multilint[${PYTHON_USEDEP}]
-#		dev-python/pytest-xdist[${PYTHON_USEDEP}]
-#	)
-#"
-
-#no multilint for now
-#distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2020-04-25 12:53 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2020-04-25 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     b0a8f05843cf8fbfcb419c84ba826764469dfb65
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 12:52:34 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 12:53:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b0a8f058

dev-python/pytest-randomly: temporary drop black

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
index 2796f69..b28fd46 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
@@ -31,9 +31,10 @@ RDEPEND="
 	dev-python/secretstorage[${PYTHON_USEDEP}]
 	dev-python/twine[${PYTHON_USEDEP}]
 
-	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
 	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
 "
+#	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
+
 #DEPEND="
 #	test? (
 #		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/
@ 2020-04-25  0:37 Alessandro Barbieri
  0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Barbieri @ 2020-04-25  0:37 UTC (permalink / raw
  To: gentoo-commits

commit:     3b9a4b6ca84a7479a0ed441b761fd425311141f5
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 00:08:22 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 00:37:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b9a4b6c

dev-python/pytest-randomly: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-randomly/Manifest                |  1 +
 dev-python/pytest-randomly/metadata.xml            | 34 ++++++++++++++++
 .../pytest-randomly/pytest-randomly-3.3.1.ebuild   | 46 ++++++++++++++++++++++
 3 files changed, 81 insertions(+)

diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest
new file mode 100644
index 0000000..8c9c377
--- /dev/null
+++ b/dev-python/pytest-randomly/Manifest
@@ -0,0 +1 @@
+DIST pytest-randomly-3.3.1.tar.gz 31404 BLAKE2B 28a77b2c7043ece3305e1971957b23a7188bf1889483c9747f2fe925bfe72e872d8e8f4a52e3dc372f9934dd81c3e88bbc9be52bc574605faed80e57fa852d3c SHA512 242274b1e9fcbb03278766ddd46e8d3dca2374f09db0d111feb0bebdabab4d46ecc63d17f17e692cf4adf662dd3b450f87fe14e248488acb4d3c629567d54458

diff --git a/dev-python/pytest-randomly/metadata.xml b/dev-python/pytest-randomly/metadata.xml
new file mode 100644
index 0000000..46c4254
--- /dev/null
+++ b/dev-python/pytest-randomly/metadata.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+Features
+
+All of these features are on by default but can be disabled with flags.
+
+    Randomly shuffles the order of test items. This is done first at the level of modules, then at the level of test classes (if you have them), then at the order of functions. This also works with things like doctests.
+    Resets random.seed() at the start of every test case and test to a fixed number - this defaults to time.time() from the start of your test run, but you can pass in --randomly-seed to repeat a randomness-induced failure.
+    If factory boy is installed, its random state is reset at the start of every test. This allows for repeatable use of its random ‘fuzzy’ features.
+    If faker is installed, its random state is reset at the start of every test. This is also for repeatable fuzzy data in tests - factory boy uses faker for lots of data.
+    If numpy is installed, its random state is reset at the start of every test.
+    If additional random generators are used, they can be registered under the pytest_randomly.random_seeder entry point and will have their seed reset at the start of every test. Register a function that takes the current seed value.
+    Works with pytest-xdist.
+
+About
+
+Randomness in testing can be quite powerful to discover hidden flaws in the tests themselves, as well as giving a little more coverage to your system.
+
+By randomly ordering the tests, the risk of surprising inter-test dependencies is reduced - a technique used in many places, for example Google’s C++ test runner googletest.
+
+By resetting the random seed to a repeatable number for each test, tests can create data based on random numbers and yet remain repeatable, for example factory boy’s fuzzy values. This is good for ensuring that tests specify the data they need and that the tested system is not affected by any data that is filled in randomly due to not being specified.
+
+This plugin is a Pytest port of my plugin for nose, nose-randomly. I’ve written a blog post on its history.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">pytest-dev/pytest-randomly</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
new file mode 100644
index 0000000..2796f69
--- /dev/null
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~x86"
+IUSE="test"
+RESTRICT="test"
+
+RDEPEND="
+	dev-python/docutils[${PYTHON_USEDEP}]
+	dev-python/factory_boy[${PYTHON_USEDEP}]
+	dev-python/faker[${PYTHON_USEDEP}]
+	dev-python/isort[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+	dev-python/secretstorage[${PYTHON_USEDEP}]
+	dev-python/twine[${PYTHON_USEDEP}]
+
+	$(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
+	$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
+"
+#DEPEND="
+#	test? (
+#		$(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
+#		dev-python/multilint[${PYTHON_USEDEP}]
+#		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+#	)
+#"
+
+#no multilint for now
+#distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-03-16 13:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-27 21:24 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-randomly/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2023-03-16 13:59 Anna Vyalkova
2022-06-01  5:03 Anna Vyalkova
2022-05-30 17:21 Alessandro Barbieri
2022-03-14  2:41 Alessandro Barbieri
2021-11-02  3:40 Alessandro Barbieri
2021-06-15 12:22 Alessandro Barbieri
2021-06-14 23:09 Alessandro Barbieri
2021-06-14  2:27 Alessandro Barbieri
2021-04-14  9:05 Theo Anderson
2020-12-18 19:05 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-18 19:05 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-09 23:00 Alessandro Barbieri
2020-08-28 15:26 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-08-28 15:26 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-19 19:46 Alessandro Barbieri
2020-05-19 11:24 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-19 11:13 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-18 18:39 Alessandro Barbieri
2020-04-25 12:53 Alessandro Barbieri
2020-04-25  0:37 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox