Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest/
Date: Sun, 05 Jan 2020 08:03:11
Message-Id: 1578211383.467757060b0f6e0702fdb7405cc073709666140e.mgorny@gentoo
1 commit: 467757060b0f6e0702fdb7405cc073709666140e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 5 07:25:10 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 08:03:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46775706
7
8 dev-python/pytest: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest/Manifest | 4 --
13 dev-python/pytest/pytest-4.6.6.ebuild | 75 -----------------------------------
14 dev-python/pytest/pytest-4.6.7.ebuild | 75 -----------------------------------
15 dev-python/pytest/pytest-5.3.0.ebuild | 66 ------------------------------
16 dev-python/pytest/pytest-5.3.1.ebuild | 66 ------------------------------
17 5 files changed, 286 deletions(-)
18
19 diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest
20 index 51905c72edf..028d0364e68 100644
21 --- a/dev-python/pytest/Manifest
22 +++ b/dev-python/pytest/Manifest
23 @@ -1,8 +1,4 @@
24 DIST pytest-3.10.1.tar.gz 892420 BLAKE2B 38849ae69bf4380bc1a99aa105cac04be078da4460373dfc16fa555238b2830fa2f5ae6c19de8aa2af9ac18d87c5d2705d62f7b2e67e4a62d843f6a28bbd76fd SHA512 30ff79c0fdcbeef68e1191ff400a20428e391717f06957f554b694b94baaaa565dca01346fe989c3e443c4402f3b2bdbd5564f6303a4447f933fb54cba45628f
25 DIST pytest-4.5.0.tar.gz 943607 BLAKE2B 49a0e91fda7f4231fdd39f90eb2daa344d3034c10faff221330ea0ae7482a2a7d0fb9443a0a264db00f1d92568d5a6005cb73e07d8643b46906f7ecff831adcb SHA512 cbffc6216f83491b1de241058315c116697bfaa5206b5f558192a7f861d43dd036d30d0d689bedae7bdee4f0258dd19ef5827c356e11863dd596a5fabe8249fc
26 -DIST pytest-4.6.6.tar.gz 954899 BLAKE2B d3d76ec1fff18d343cc799f1acd0889489f303cdba72747881dfab8656599bc1865f01b5ad2754f0d05bda04aca4d7edf8c2071f2257fdf41506308d1bc0f623 SHA512 c5b6c21c352787eadce06be7529ecb6f6fd5f5eb193ec29e5a4cfff3d7e305f50c6f07aeac15bddce007d88077a35a8f59633111815321792ed3d9fa1011b684
27 -DIST pytest-4.6.7.tar.gz 955616 BLAKE2B eb2276e715bab176fe4e497a51779d82b7146704749b33ebdc9dc07a0fcad144252553280a7bbbbcf23c6862fb74f1faf75de42ed0f5295ecd287fc10ac287a0 SHA512 d284cef48c0e39c901d23cd63949cc1d8b8cf01c3039fd2bfd99275bf6a45532c955e1176d556a7e2198e6206830e6dc4f4fb22c143ff7e08de6ffbfb6079fd1
28 DIST pytest-4.6.8.tar.gz 956062 BLAKE2B f28e3226c7dfe4188168cfdf9623c96d0b274a2476f0d3132c24367e4566abd2e0b496114f229b6f26ae53a67d1ea1f9cb64795f4f9710fc9fe0852991467aef SHA512 b396b200a8a13ec9df8dbc4dd64bb05638b26af9ad6b24cbea3c3de4d806665b63a1488c7359b12c5634d014d45b43c8c208f0e329c62266882a87c492e80b58
29 -DIST pytest-5.3.0.tar.gz 992537 BLAKE2B 4386d1623bdc168313a75847dfa33413ab1b6a4de9380c67ae866a579dbeb62d8cd18da899bf0476827d6e4a76ddfc5fee7a2fdc652eff0c8848c0bd96045c47 SHA512 285d0b4f6b87b141d6d5dac368dc46eb80dd025d7ed4ad0db937fcc76efc1f8cf251ca9b0786ab1bdadd89c07ad8ddd74f2b3496f97326e9d7fccfd004b98aff
30 -DIST pytest-5.3.1.tar.gz 994584 BLAKE2B 3831902684d935389b4684af1279a5834edbbe846f8fdb1ce1e64990ab65d6fe8ed3cf5daa446cd20daafe9eedc6f57e01b16d74a55631ab746750a73056640d SHA512 e949a516c064a7050a0ad15356cc0bf25e4840e830f03e1925530c8a2dd9903d7632e55535894474422ba86fd9ed7a397c483d98dad297990b7b49456147189e
31 DIST pytest-5.3.2.tar.gz 995560 BLAKE2B aaea9d89e884a82056eeea3068c70604c73d50c96b8d78c6ee14c67bbe066f0e6d882c1b8f95539a2338d6739e047680d901a9db108b1923fa4d3d03dc3f2115 SHA512 2ab39973848d2d4693edd1dbd7ab2798b574026c9277bddd4a18e57aec65b3d93de201e87f58eb26030183b5c71818e6e56bcc1cda8c50892546cb1c04d6984a
32
33 diff --git a/dev-python/pytest/pytest-4.6.6.ebuild b/dev-python/pytest/pytest-4.6.6.ebuild
34 deleted file mode 100644
35 index 00edbafb327..00000000000
36 --- a/dev-python/pytest/pytest-4.6.6.ebuild
37 +++ /dev/null
38 @@ -1,75 +0,0 @@
39 -# Copyright 1999-2020 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=7
43 -
44 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
45 -
46 -inherit distutils-r1
47 -
48 -DESCRIPTION="Simple powerful testing with Python"
49 -HOMEPAGE="http://pytest.org/"
50 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
51 -
52 -LICENSE="MIT"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~x86"
55 -IUSE="test"
56 -RESTRICT="!test? ( test )"
57 -
58 -# When bumping, please check setup.py for the proper py version
59 -PY_VER="1.5.0"
60 -
61 -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
62 -# support, which only came in py3.6.
63 -RDEPEND="
64 - >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}]
65 - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
66 - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
67 - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \
68 - -2 python3_{5,6,7} pypy3)
69 - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
70 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
71 - <dev-python/pluggy-1
72 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
73 - dev-python/packaging[${PYTHON_USEDEP}]
74 - dev-python/six[${PYTHON_USEDEP}]
75 - dev-python/wcwidth[${PYTHON_USEDEP}]
76 - virtual/python-funcsigs[${PYTHON_USEDEP}]"
77 -
78 -# flake cause a number of tests to fail
79 -DEPEND="
80 - dev-python/setuptools[${PYTHON_USEDEP}]
81 - test? (
82 - ${RDEPEND}
83 - dev-python/argcomplete[${PYTHON_USEDEP}]
84 - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
85 - dev-python/nose[${PYTHON_USEDEP}]
86 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)
87 - dev-python/pexpect[${PYTHON_USEDEP}]
88 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
89 - dev-python/requests[${PYTHON_USEDEP}]
90 - !!dev-python/flaky
91 - )"
92 -
93 -PATCHES=(
94 - "${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch"
95 -)
96 -
97 -python_prepare_all() {
98 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
99 -
100 - # Something in the ebuild environment causes this to hang/error.
101 - # https://bugs.gentoo.org/598442
102 - rm testing/test_pdb.py || die
103 -
104 - distutils-r1_python_prepare_all
105 -}
106 -
107 -python_test() {
108 - # In v4.1.1, pytest started being picky about its own verbosity options.
109 - # running pytest on itself with -vv made 3 tests fail. This is why we don't
110 - # have it below.
111 - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \
112 - || die "tests failed with ${EPYTHON}"
113 -}
114
115 diff --git a/dev-python/pytest/pytest-4.6.7.ebuild b/dev-python/pytest/pytest-4.6.7.ebuild
116 deleted file mode 100644
117 index 0efddd35ef8..00000000000
118 --- a/dev-python/pytest/pytest-4.6.7.ebuild
119 +++ /dev/null
120 @@ -1,75 +0,0 @@
121 -# Copyright 1999-2020 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=7
125 -
126 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
127 -
128 -inherit distutils-r1
129 -
130 -DESCRIPTION="Simple powerful testing with Python"
131 -HOMEPAGE="http://pytest.org/"
132 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
133 -
134 -LICENSE="MIT"
135 -SLOT="0"
136 -KEYWORDS="~amd64 ~x86"
137 -IUSE="test"
138 -RESTRICT="!test? ( test )"
139 -
140 -# When bumping, please check setup.py for the proper py version
141 -PY_VER="1.5.0"
142 -
143 -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
144 -# support, which only came in py3.6.
145 -RDEPEND="
146 - >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}]
147 - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
148 - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
149 - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \
150 - -2 python3_{6,7} pypy3)
151 - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
152 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
153 - <dev-python/pluggy-1
154 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
155 - dev-python/packaging[${PYTHON_USEDEP}]
156 - dev-python/six[${PYTHON_USEDEP}]
157 - dev-python/wcwidth[${PYTHON_USEDEP}]
158 - virtual/python-funcsigs[${PYTHON_USEDEP}]"
159 -
160 -# flake cause a number of tests to fail
161 -DEPEND="
162 - dev-python/setuptools[${PYTHON_USEDEP}]
163 - test? (
164 - ${RDEPEND}
165 - dev-python/argcomplete[${PYTHON_USEDEP}]
166 - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
167 - dev-python/nose[${PYTHON_USEDEP}]
168 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)
169 - dev-python/pexpect[${PYTHON_USEDEP}]
170 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
171 - dev-python/requests[${PYTHON_USEDEP}]
172 - !!dev-python/flaky
173 - )"
174 -
175 -PATCHES=(
176 - "${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch"
177 -)
178 -
179 -python_prepare_all() {
180 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
181 -
182 - # Something in the ebuild environment causes this to hang/error.
183 - # https://bugs.gentoo.org/598442
184 - rm testing/test_pdb.py || die
185 -
186 - distutils-r1_python_prepare_all
187 -}
188 -
189 -python_test() {
190 - # In v4.1.1, pytest started being picky about its own verbosity options.
191 - # running pytest on itself with -vv made 3 tests fail. This is why we don't
192 - # have it below.
193 - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \
194 - || die "tests failed with ${EPYTHON}"
195 -}
196
197 diff --git a/dev-python/pytest/pytest-5.3.0.ebuild b/dev-python/pytest/pytest-5.3.0.ebuild
198 deleted file mode 100644
199 index 87b412ee446..00000000000
200 --- a/dev-python/pytest/pytest-5.3.0.ebuild
201 +++ /dev/null
202 @@ -1,66 +0,0 @@
203 -# Copyright 1999-2020 Gentoo Authors
204 -# Distributed under the terms of the GNU General Public License v2
205 -
206 -EAPI=7
207 -
208 -PYTHON_COMPAT=( python3_{5,6,7,8} )
209 -
210 -inherit distutils-r1
211 -
212 -DESCRIPTION="Simple powerful testing with Python"
213 -HOMEPAGE="http://pytest.org/"
214 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
215 -
216 -LICENSE="MIT"
217 -SLOT="0"
218 -KEYWORDS="~amd64 ~x86"
219 -IUSE="test"
220 -RESTRICT="!test? ( test )"
221 -
222 -# When bumping, please check setup.py for the proper py version
223 -PY_VER="1.5.0"
224 -
225 -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
226 -# support, which only came in py3.6.
227 -RDEPEND="
228 - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
229 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
230 - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
231 - dev-python/packaging[${PYTHON_USEDEP}]
232 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
233 - <dev-python/pluggy-1
234 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
235 - dev-python/six[${PYTHON_USEDEP}]
236 - dev-python/wcwidth[${PYTHON_USEDEP}]
237 - virtual/python-funcsigs[${PYTHON_USEDEP}]"
238 -
239 -# flake cause a number of tests to fail
240 -DEPEND="${RDEPEND}
241 - test? (
242 - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
243 - dev-python/nose[${PYTHON_USEDEP}]
244 - dev-python/mock[${PYTHON_USEDEP}]
245 - dev-python/requests[${PYTHON_USEDEP}]
246 - >=dev-python/setuptools-40[${PYTHON_USEDEP}]
247 - dev-python/xmlschema[${PYTHON_USEDEP}]
248 - !!dev-python/flaky
249 - )"
250 -
251 -PATCHES=(
252 - "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch
253 -)
254 -
255 -python_prepare_all() {
256 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
257 -
258 - # Something in the ebuild environment causes this to hang/error.
259 - # https://bugs.gentoo.org/598442
260 - rm testing/test_pdb.py || die
261 -
262 - distutils-r1_python_prepare_all
263 -}
264 -
265 -python_test() {
266 - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py -vv --lsof -rfsxX \
267 - || die "tests failed with ${EPYTHON}"
268 -}
269
270 diff --git a/dev-python/pytest/pytest-5.3.1.ebuild b/dev-python/pytest/pytest-5.3.1.ebuild
271 deleted file mode 100644
272 index 87b412ee446..00000000000
273 --- a/dev-python/pytest/pytest-5.3.1.ebuild
274 +++ /dev/null
275 @@ -1,66 +0,0 @@
276 -# Copyright 1999-2020 Gentoo Authors
277 -# Distributed under the terms of the GNU General Public License v2
278 -
279 -EAPI=7
280 -
281 -PYTHON_COMPAT=( python3_{5,6,7,8} )
282 -
283 -inherit distutils-r1
284 -
285 -DESCRIPTION="Simple powerful testing with Python"
286 -HOMEPAGE="http://pytest.org/"
287 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
288 -
289 -LICENSE="MIT"
290 -SLOT="0"
291 -KEYWORDS="~amd64 ~x86"
292 -IUSE="test"
293 -RESTRICT="!test? ( test )"
294 -
295 -# When bumping, please check setup.py for the proper py version
296 -PY_VER="1.5.0"
297 -
298 -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
299 -# support, which only came in py3.6.
300 -RDEPEND="
301 - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
302 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
303 - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
304 - dev-python/packaging[${PYTHON_USEDEP}]
305 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
306 - <dev-python/pluggy-1
307 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
308 - dev-python/six[${PYTHON_USEDEP}]
309 - dev-python/wcwidth[${PYTHON_USEDEP}]
310 - virtual/python-funcsigs[${PYTHON_USEDEP}]"
311 -
312 -# flake cause a number of tests to fail
313 -DEPEND="${RDEPEND}
314 - test? (
315 - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
316 - dev-python/nose[${PYTHON_USEDEP}]
317 - dev-python/mock[${PYTHON_USEDEP}]
318 - dev-python/requests[${PYTHON_USEDEP}]
319 - >=dev-python/setuptools-40[${PYTHON_USEDEP}]
320 - dev-python/xmlschema[${PYTHON_USEDEP}]
321 - !!dev-python/flaky
322 - )"
323 -
324 -PATCHES=(
325 - "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch
326 -)
327 -
328 -python_prepare_all() {
329 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
330 -
331 - # Something in the ebuild environment causes this to hang/error.
332 - # https://bugs.gentoo.org/598442
333 - rm testing/test_pdb.py || die
334 -
335 - distutils-r1_python_prepare_all
336 -}
337 -
338 -python_test() {
339 - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py -vv --lsof -rfsxX \
340 - || die "tests failed with ${EPYTHON}"
341 -}