1 |
commit: 72f44d1de88005a990707710c0b4009d7f59217b |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Fri Aug 28 15:14:10 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri Aug 28 15:26:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72f44d1d |
7 |
|
8 |
dev-python/pytest-randomly: version bump 3.4.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
dev-python/pytest-randomly/Manifest | 2 +- |
14 |
.../pytest-randomly-3.3.1-r1.ebuild | 55 ---------------------- |
15 |
....3.1-r2.ebuild => pytest-randomly-3.4.1.ebuild} | 17 +++---- |
16 |
3 files changed, 8 insertions(+), 66 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest |
19 |
index 8c9c377..03807ea 100644 |
20 |
--- a/dev-python/pytest-randomly/Manifest |
21 |
+++ b/dev-python/pytest-randomly/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST pytest-randomly-3.3.1.tar.gz 31404 BLAKE2B 28a77b2c7043ece3305e1971957b23a7188bf1889483c9747f2fe925bfe72e872d8e8f4a52e3dc372f9934dd81c3e88bbc9be52bc574605faed80e57fa852d3c SHA512 242274b1e9fcbb03278766ddd46e8d3dca2374f09db0d111feb0bebdabab4d46ecc63d17f17e692cf4adf662dd3b450f87fe14e248488acb4d3c629567d54458 |
24 |
+DIST pytest-randomly-3.4.1.tar.gz 32468 BLAKE2B 6aaddfca7434a8b7060aa32d69f84ff5e03e5f43bcfdfacc56f792ba6e1a1f5f49dca641a0100ed4ddf0f6947017aa354ab4fcc2ad837bb5b072aab8142f07b6 SHA512 3f1006ce67478221fb57369f6b0dcbb41bdd38798059112cff2e113ab101a4d07e72e5f302ffdf6159cc8600999f691f0f665fda4c0fcf58bba3c4fe5a12c039 |
25 |
|
26 |
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 |
27 |
deleted file mode 100644 |
28 |
index 89096d8..0000000 |
29 |
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,55 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI="7" |
36 |
- |
37 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" |
43 |
-HOMEPAGE=" |
44 |
- https://pypi.python.org/pypi/pytest-randomly |
45 |
- https://github.com/pytest-dev/pytest-randomly |
46 |
-" |
47 |
-SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="BSD" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~amd64 ~x86" |
52 |
- |
53 |
-# many failures, both with pytest-5 and 4 |
54 |
-RESTRICT="test" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- dev-python/docutils[${PYTHON_USEDEP}] |
58 |
- dev-python/factory_boy[${PYTHON_USEDEP}] |
59 |
- dev-python/faker[${PYTHON_USEDEP}] |
60 |
- dev-python/numpy[${PYTHON_USEDEP}] |
61 |
- dev-python/pygments[${PYTHON_USEDEP}] |
62 |
- dev-python/pytest[${PYTHON_USEDEP}] |
63 |
- |
64 |
- $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7) |
65 |
-" |
66 |
-#not really needed |
67 |
-# dev-python/isort[${PYTHON_USEDEP}] |
68 |
-# $(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8) |
69 |
-# dev-python/secretstorage[${PYTHON_USEDEP}] |
70 |
-# dev-python/twine[${PYTHON_USEDEP}] |
71 |
- |
72 |
-DEPEND=" |
73 |
- test? ( |
74 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
75 |
- ) |
76 |
-" |
77 |
-#not really needed |
78 |
-# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8) |
79 |
-# dev-python/multilint[${PYTHON_USEDEP}] |
80 |
- |
81 |
-distutils_enable_tests pytest |
82 |
- |
83 |
-python_test() { |
84 |
- distutils_install_for_testing |
85 |
- pytest -vv || die "Testsuite failed under ${EPYTHON}" |
86 |
-} |
87 |
|
88 |
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 |
89 |
similarity index 71% |
90 |
rename from dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild |
91 |
rename to dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild |
92 |
index 1e902ac..ba4a52f 100644 |
93 |
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild |
94 |
+++ b/dev-python/pytest-randomly/pytest-randomly-3.4.1.ebuild |
95 |
@@ -4,7 +4,7 @@ |
96 |
EAPI="7" |
97 |
|
98 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
99 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
100 |
+PYTHON_COMPAT=( python3_{7,8} ) |
101 |
|
102 |
inherit distutils-r1 |
103 |
|
104 |
@@ -19,6 +19,11 @@ LICENSE="BSD" |
105 |
SLOT="0" |
106 |
KEYWORDS="~amd64 ~x86" |
107 |
|
108 |
+# No clue what's going on here |
109 |
+# AssertionError: assert ['collecting ... collected 4 items',\n '',\n 'test_one.py::test_d PASSED',\n 'test_one.py::test_c PASSED'] == |
110 |
+# ['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'] |
111 |
+RESTRICT="test" |
112 |
+ |
113 |
RDEPEND=" |
114 |
dev-python/docutils[${PYTHON_USEDEP}] |
115 |
dev-python/factory_boy[${PYTHON_USEDEP}] |
116 |
@@ -27,22 +32,14 @@ RDEPEND=" |
117 |
dev-python/pygments[${PYTHON_USEDEP}] |
118 |
dev-python/pytest[${PYTHON_USEDEP}] |
119 |
|
120 |
- $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7) |
121 |
+ $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7) |
122 |
" |
123 |
-#not really needed |
124 |
-# dev-python/isort[${PYTHON_USEDEP}] |
125 |
-# $(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8) |
126 |
-# dev-python/secretstorage[${PYTHON_USEDEP}] |
127 |
-# dev-python/twine[${PYTHON_USEDEP}] |
128 |
|
129 |
DEPEND=" |
130 |
test? ( |
131 |
dev-python/pytest-xdist[${PYTHON_USEDEP}] |
132 |
) |
133 |
" |
134 |
-#not really needed |
135 |
-# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8) |
136 |
-# dev-python/multilint[${PYTHON_USEDEP}] |
137 |
|
138 |
distutils_enable_tests pytest |