1 |
commit: 8a03d55f08a8efa8f316baf0b0000c1ef342b70b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 9 17:45:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 17:45:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a03d55f |
7 |
|
8 |
dev-python/hypothesis: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hypothesis/Manifest | 7 --- |
13 |
dev-python/hypothesis/hypothesis-6.38.0.ebuild | 65 ------------------------- |
14 |
dev-python/hypothesis/hypothesis-6.39.3.ebuild | 65 ------------------------- |
15 |
dev-python/hypothesis/hypothesis-6.39.4.ebuild | 66 -------------------------- |
16 |
dev-python/hypothesis/hypothesis-6.39.5.ebuild | 66 -------------------------- |
17 |
dev-python/hypothesis/hypothesis-6.40.0.ebuild | 66 -------------------------- |
18 |
dev-python/hypothesis/hypothesis-6.40.1.ebuild | 66 -------------------------- |
19 |
dev-python/hypothesis/hypothesis-6.41.0.ebuild | 66 -------------------------- |
20 |
8 files changed, 467 deletions(-) |
21 |
|
22 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
23 |
index 4b5137560a0c..6e22047efb94 100644 |
24 |
--- a/dev-python/hypothesis/Manifest |
25 |
+++ b/dev-python/hypothesis/Manifest |
26 |
@@ -1,9 +1,2 @@ |
27 |
-DIST hypothesis-python-6.38.0.tar.gz 9180960 BLAKE2B a62cb0cb31cfe4ece8ee829207befb729aebf2be802c57b398547c87ecbd4769955c5c2919a0eb653d41cc3f4998c5326fdb184b6409d5fcb632c037df6a542f SHA512 2d57b783a71a905470ca088ebd91c0ea96be1bd76648d30d52b0b43914844712bbf3eaad54d66607b149a1238bb9a0258f920a6e262e54bed5cef36e3ca227e1 |
28 |
-DIST hypothesis-python-6.39.3.tar.gz 9182758 BLAKE2B 3641e5a9fd7e3e3e9f6432fa5bd5b8f6e4508fd840c781a65f11e8e99cee40dbd343bb17c37c60a4aabff00d5faca98a3a49b756eb754763ffc26a63a8450b38 SHA512 6dcbecdbd564aced4b0e14608a226d71adccaccfd54a3b9029f85a3e616372b7422f97029b5254bf1b08e44f74c714d65c1cb5fc21b6a0e0bdcedff2cc539ed2 |
29 |
-DIST hypothesis-python-6.39.4.tar.gz 9182794 BLAKE2B 16c1867e2ea4dc08d6bb31aee14ec4c8fc7c7e21e57723d69184b227c1b2081e7f03a7d1f3a4975c485cbfc6011cb832de761874bddcfef716775a5bdd933927 SHA512 100e0b591980280b8a674e0c596fee65eee0428e0f116045b65f22a3bf2c114ff7068eac0b59764bbf5dc02b67711ca105fb655b705cbba7c1932cbbfc7da670 |
30 |
-DIST hypothesis-python-6.39.5.tar.gz 9182972 BLAKE2B ecd92b759f574d2abed5310815c603adb2585e9a724532feea2fe1818c1693eabd3523ecda57c42b5e714684c53e80bce437156b49a7a23e5d0a87ef103d367f SHA512 da6ebb225a58b177870f9848ad44eb71af6c9a502ffa104ba023a24139b427b647c33b622063bd1c6050b5922c5a17ef0cbcff64dc85e5a9379b9503738dabd8 |
31 |
DIST hypothesis-python-6.39.6.tar.gz 9183382 BLAKE2B c1112dc11d9129c7685eccac563232c978fcb470b0537e468b802ecf1f758af8dfce323514f923605662e720d0d54f525e5aac3e871407255f5f0732856748fe SHA512 985645265e9644bd2731a08ab942984fae5cb35e04e27e60450bfcf237c375dae1f2d3bf3694031a452866669ae2e19a05085ce9e35630965938c066b265595a |
32 |
-DIST hypothesis-python-6.40.0.tar.gz 9184563 BLAKE2B 7087baa8eed9849e639bc1d67e77a3426702e64e31252e893a19efb1457dd3c9994ed7459084b9c88f3574b89268369ee63bc1ed8dd6f0c257c0af50dc5a3eb1 SHA512 51b062b934c90137cb55fea58c639ebdbfdae21d0af8bf951add83b36c1286f959de47442219174fe80d0a98ffbe0c53cb9cd1b3908b63742c5d7662c84518e0 |
33 |
-DIST hypothesis-python-6.40.1.tar.gz 9184638 BLAKE2B bc1900b5328514f1f1f5753d9370229a30108e626400fa93aebcb43d33caa6301108b277ccd8356ef944f2d54387444f67efa4e041f553e40f889b233be03ed8 SHA512 9ae09a8a337fb2d4a94b83ecc02dc5c62759ca9c9043bdd2326084413ff3106c52a654c2c7a99b22fcef28909387ef0450207d0883cf15303c84f3a7f42987d9 |
34 |
-DIST hypothesis-python-6.41.0.tar.gz 9186412 BLAKE2B 406cc13a7f341fa9844fe7ae7e65509e161244dec2e52d62f3177b84746562ffd09eb5aaba21f6c3fb8137bf26c7b4ea2d7064e8ef12bf59c0bbe7b99154ce13 SHA512 71884130be8a0474918172b8fd754e944831de2a6f34cf5a4f32c318820026ece8e0ab2f04ac1c9cae47329eec84c5006337556420eb523f4df57dd43dadb916 |
35 |
DIST hypothesis-python-6.42.0.tar.gz 9186585 BLAKE2B dd08082ef466c91999a6bfa6dfc8386f773182f3e74cc471f6f09bf3c595871aea6508ea2ede4a1375b7ec1e0ba4169a7577c41c6ea97b578233ed64a36b4975 SHA512 fdd6c095aba72660b7cbf4e5200a3500019fef69f45c6a8f40a93815b6bce23c40404af16dba4309400917307485c378b3a12f3eea58d99ce8da68b397a69390 |
36 |
|
37 |
diff --git a/dev-python/hypothesis/hypothesis-6.38.0.ebuild b/dev-python/hypothesis/hypothesis-6.38.0.ebuild |
38 |
deleted file mode 100644 |
39 |
index 737623e72c7f..000000000000 |
40 |
--- a/dev-python/hypothesis/hypothesis-6.38.0.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,65 +0,0 @@ |
43 |
-# Copyright 1999-2022 Gentoo Authors |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=8 |
47 |
- |
48 |
-DISTUTILS_USE_PEP517=setuptools |
49 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
50 |
-PYTHON_REQ_USE="threads(+),sqlite" |
51 |
- |
52 |
-inherit distutils-r1 multiprocessing optfeature |
53 |
- |
54 |
-DESCRIPTION="A library for property based testing" |
55 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
56 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
57 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
58 |
- |
59 |
-LICENSE="MPL-2.0" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
62 |
-IUSE="cli" |
63 |
- |
64 |
-RDEPEND=" |
65 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
66 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
67 |
- cli? ( |
68 |
- $(python_gen_cond_dep ' |
69 |
- dev-python/black[${PYTHON_USEDEP}] |
70 |
- dev-python/click[${PYTHON_USEDEP}] |
71 |
- ' python3_{8..10}) |
72 |
- ) |
73 |
-" |
74 |
-BDEPEND=" |
75 |
- test? ( |
76 |
- dev-python/mock[${PYTHON_USEDEP}] |
77 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
78 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
79 |
- !!<dev-python/typing-3.7.4.1 |
80 |
- ) |
81 |
-" |
82 |
- |
83 |
-distutils_enable_tests pytest |
84 |
- |
85 |
-python_prepare() { |
86 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
87 |
- sed -i -e '/console_scripts/d' setup.py || die |
88 |
- fi |
89 |
-} |
90 |
- |
91 |
-python_test() { |
92 |
- # subtests are broken by warnings from random plugins |
93 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
94 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
95 |
- |
96 |
- epytest tests/cover tests/pytest tests/quality \ |
97 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
98 |
-} |
99 |
- |
100 |
-pkg_postinst() { |
101 |
- optfeature "datetime support" dev-python/pytz |
102 |
- optfeature "dateutil support" dev-python/python-dateutil |
103 |
- optfeature "numpy support" dev-python/numpy |
104 |
- optfeature "django support" dev-python/django dev-python/pytz |
105 |
- optfeature "pandas support" dev-python/pandas |
106 |
- optfeature "pytest support" dev-python/pytest |
107 |
-} |
108 |
|
109 |
diff --git a/dev-python/hypothesis/hypothesis-6.39.3.ebuild b/dev-python/hypothesis/hypothesis-6.39.3.ebuild |
110 |
deleted file mode 100644 |
111 |
index e070fa008ff0..000000000000 |
112 |
--- a/dev-python/hypothesis/hypothesis-6.39.3.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,65 +0,0 @@ |
115 |
-# Copyright 1999-2022 Gentoo Authors |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
- |
118 |
-EAPI=8 |
119 |
- |
120 |
-DISTUTILS_USE_PEP517=setuptools |
121 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
122 |
-PYTHON_REQ_USE="threads(+),sqlite" |
123 |
- |
124 |
-inherit distutils-r1 multiprocessing optfeature |
125 |
- |
126 |
-DESCRIPTION="A library for property based testing" |
127 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
128 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
129 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
130 |
- |
131 |
-LICENSE="MPL-2.0" |
132 |
-SLOT="0" |
133 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
134 |
-IUSE="cli" |
135 |
- |
136 |
-RDEPEND=" |
137 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
138 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
139 |
- cli? ( |
140 |
- $(python_gen_cond_dep ' |
141 |
- dev-python/black[${PYTHON_USEDEP}] |
142 |
- dev-python/click[${PYTHON_USEDEP}] |
143 |
- ' python3_{8..10}) |
144 |
- ) |
145 |
-" |
146 |
-BDEPEND=" |
147 |
- test? ( |
148 |
- dev-python/mock[${PYTHON_USEDEP}] |
149 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
150 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
151 |
- !!<dev-python/typing-3.7.4.1 |
152 |
- ) |
153 |
-" |
154 |
- |
155 |
-distutils_enable_tests pytest |
156 |
- |
157 |
-python_prepare() { |
158 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
159 |
- sed -i -e '/console_scripts/d' setup.py || die |
160 |
- fi |
161 |
-} |
162 |
- |
163 |
-python_test() { |
164 |
- # subtests are broken by warnings from random plugins |
165 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
166 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
167 |
- |
168 |
- epytest tests/cover tests/pytest tests/quality \ |
169 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
170 |
-} |
171 |
- |
172 |
-pkg_postinst() { |
173 |
- optfeature "datetime support" dev-python/pytz |
174 |
- optfeature "dateutil support" dev-python/python-dateutil |
175 |
- optfeature "numpy support" dev-python/numpy |
176 |
- optfeature "django support" dev-python/django dev-python/pytz |
177 |
- optfeature "pandas support" dev-python/pandas |
178 |
- optfeature "pytest support" dev-python/pytest |
179 |
-} |
180 |
|
181 |
diff --git a/dev-python/hypothesis/hypothesis-6.39.4.ebuild b/dev-python/hypothesis/hypothesis-6.39.4.ebuild |
182 |
deleted file mode 100644 |
183 |
index 1bf4b6813bee..000000000000 |
184 |
--- a/dev-python/hypothesis/hypothesis-6.39.4.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,66 +0,0 @@ |
187 |
-# Copyright 1999-2022 Gentoo Authors |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
- |
190 |
-EAPI=8 |
191 |
- |
192 |
-DISTUTILS_USE_PEP517=setuptools |
193 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
194 |
-PYTHON_REQ_USE="threads(+),sqlite" |
195 |
- |
196 |
-inherit distutils-r1 multiprocessing optfeature |
197 |
- |
198 |
-DESCRIPTION="A library for property based testing" |
199 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
200 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
201 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
202 |
- |
203 |
-LICENSE="MPL-2.0" |
204 |
-SLOT="0" |
205 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
206 |
-IUSE="cli" |
207 |
- |
208 |
-RDEPEND=" |
209 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
210 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
211 |
- cli? ( |
212 |
- $(python_gen_cond_dep ' |
213 |
- dev-python/black[${PYTHON_USEDEP}] |
214 |
- dev-python/click[${PYTHON_USEDEP}] |
215 |
- ' python3_{8..10}) |
216 |
- ) |
217 |
-" |
218 |
-BDEPEND=" |
219 |
- test? ( |
220 |
- dev-python/mock[${PYTHON_USEDEP}] |
221 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
222 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
223 |
- !!<dev-python/typing-3.7.4.1 |
224 |
- ) |
225 |
-" |
226 |
- |
227 |
-distutils_enable_tests pytest |
228 |
- |
229 |
-python_test() { |
230 |
- # subtests are broken by warnings from random plugins |
231 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
232 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
233 |
- |
234 |
- epytest tests/cover tests/pytest tests/quality \ |
235 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
236 |
-} |
237 |
- |
238 |
-python_install() { |
239 |
- distutils-r1_python_install |
240 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
241 |
- rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die |
242 |
- fi |
243 |
-} |
244 |
- |
245 |
-pkg_postinst() { |
246 |
- optfeature "datetime support" dev-python/pytz |
247 |
- optfeature "dateutil support" dev-python/python-dateutil |
248 |
- optfeature "numpy support" dev-python/numpy |
249 |
- optfeature "django support" dev-python/django dev-python/pytz |
250 |
- optfeature "pandas support" dev-python/pandas |
251 |
- optfeature "pytest support" dev-python/pytest |
252 |
-} |
253 |
|
254 |
diff --git a/dev-python/hypothesis/hypothesis-6.39.5.ebuild b/dev-python/hypothesis/hypothesis-6.39.5.ebuild |
255 |
deleted file mode 100644 |
256 |
index 1bf4b6813bee..000000000000 |
257 |
--- a/dev-python/hypothesis/hypothesis-6.39.5.ebuild |
258 |
+++ /dev/null |
259 |
@@ -1,66 +0,0 @@ |
260 |
-# Copyright 1999-2022 Gentoo Authors |
261 |
-# Distributed under the terms of the GNU General Public License v2 |
262 |
- |
263 |
-EAPI=8 |
264 |
- |
265 |
-DISTUTILS_USE_PEP517=setuptools |
266 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
267 |
-PYTHON_REQ_USE="threads(+),sqlite" |
268 |
- |
269 |
-inherit distutils-r1 multiprocessing optfeature |
270 |
- |
271 |
-DESCRIPTION="A library for property based testing" |
272 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
273 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
274 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
275 |
- |
276 |
-LICENSE="MPL-2.0" |
277 |
-SLOT="0" |
278 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
279 |
-IUSE="cli" |
280 |
- |
281 |
-RDEPEND=" |
282 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
283 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
284 |
- cli? ( |
285 |
- $(python_gen_cond_dep ' |
286 |
- dev-python/black[${PYTHON_USEDEP}] |
287 |
- dev-python/click[${PYTHON_USEDEP}] |
288 |
- ' python3_{8..10}) |
289 |
- ) |
290 |
-" |
291 |
-BDEPEND=" |
292 |
- test? ( |
293 |
- dev-python/mock[${PYTHON_USEDEP}] |
294 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
295 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
296 |
- !!<dev-python/typing-3.7.4.1 |
297 |
- ) |
298 |
-" |
299 |
- |
300 |
-distutils_enable_tests pytest |
301 |
- |
302 |
-python_test() { |
303 |
- # subtests are broken by warnings from random plugins |
304 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
305 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
306 |
- |
307 |
- epytest tests/cover tests/pytest tests/quality \ |
308 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
309 |
-} |
310 |
- |
311 |
-python_install() { |
312 |
- distutils-r1_python_install |
313 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
314 |
- rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die |
315 |
- fi |
316 |
-} |
317 |
- |
318 |
-pkg_postinst() { |
319 |
- optfeature "datetime support" dev-python/pytz |
320 |
- optfeature "dateutil support" dev-python/python-dateutil |
321 |
- optfeature "numpy support" dev-python/numpy |
322 |
- optfeature "django support" dev-python/django dev-python/pytz |
323 |
- optfeature "pandas support" dev-python/pandas |
324 |
- optfeature "pytest support" dev-python/pytest |
325 |
-} |
326 |
|
327 |
diff --git a/dev-python/hypothesis/hypothesis-6.40.0.ebuild b/dev-python/hypothesis/hypothesis-6.40.0.ebuild |
328 |
deleted file mode 100644 |
329 |
index 1bf4b6813bee..000000000000 |
330 |
--- a/dev-python/hypothesis/hypothesis-6.40.0.ebuild |
331 |
+++ /dev/null |
332 |
@@ -1,66 +0,0 @@ |
333 |
-# Copyright 1999-2022 Gentoo Authors |
334 |
-# Distributed under the terms of the GNU General Public License v2 |
335 |
- |
336 |
-EAPI=8 |
337 |
- |
338 |
-DISTUTILS_USE_PEP517=setuptools |
339 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
340 |
-PYTHON_REQ_USE="threads(+),sqlite" |
341 |
- |
342 |
-inherit distutils-r1 multiprocessing optfeature |
343 |
- |
344 |
-DESCRIPTION="A library for property based testing" |
345 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
346 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
347 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
348 |
- |
349 |
-LICENSE="MPL-2.0" |
350 |
-SLOT="0" |
351 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
352 |
-IUSE="cli" |
353 |
- |
354 |
-RDEPEND=" |
355 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
356 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
357 |
- cli? ( |
358 |
- $(python_gen_cond_dep ' |
359 |
- dev-python/black[${PYTHON_USEDEP}] |
360 |
- dev-python/click[${PYTHON_USEDEP}] |
361 |
- ' python3_{8..10}) |
362 |
- ) |
363 |
-" |
364 |
-BDEPEND=" |
365 |
- test? ( |
366 |
- dev-python/mock[${PYTHON_USEDEP}] |
367 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
368 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
369 |
- !!<dev-python/typing-3.7.4.1 |
370 |
- ) |
371 |
-" |
372 |
- |
373 |
-distutils_enable_tests pytest |
374 |
- |
375 |
-python_test() { |
376 |
- # subtests are broken by warnings from random plugins |
377 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
378 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
379 |
- |
380 |
- epytest tests/cover tests/pytest tests/quality \ |
381 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
382 |
-} |
383 |
- |
384 |
-python_install() { |
385 |
- distutils-r1_python_install |
386 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
387 |
- rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die |
388 |
- fi |
389 |
-} |
390 |
- |
391 |
-pkg_postinst() { |
392 |
- optfeature "datetime support" dev-python/pytz |
393 |
- optfeature "dateutil support" dev-python/python-dateutil |
394 |
- optfeature "numpy support" dev-python/numpy |
395 |
- optfeature "django support" dev-python/django dev-python/pytz |
396 |
- optfeature "pandas support" dev-python/pandas |
397 |
- optfeature "pytest support" dev-python/pytest |
398 |
-} |
399 |
|
400 |
diff --git a/dev-python/hypothesis/hypothesis-6.40.1.ebuild b/dev-python/hypothesis/hypothesis-6.40.1.ebuild |
401 |
deleted file mode 100644 |
402 |
index 1bf4b6813bee..000000000000 |
403 |
--- a/dev-python/hypothesis/hypothesis-6.40.1.ebuild |
404 |
+++ /dev/null |
405 |
@@ -1,66 +0,0 @@ |
406 |
-# Copyright 1999-2022 Gentoo Authors |
407 |
-# Distributed under the terms of the GNU General Public License v2 |
408 |
- |
409 |
-EAPI=8 |
410 |
- |
411 |
-DISTUTILS_USE_PEP517=setuptools |
412 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
413 |
-PYTHON_REQ_USE="threads(+),sqlite" |
414 |
- |
415 |
-inherit distutils-r1 multiprocessing optfeature |
416 |
- |
417 |
-DESCRIPTION="A library for property based testing" |
418 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
419 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
420 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
421 |
- |
422 |
-LICENSE="MPL-2.0" |
423 |
-SLOT="0" |
424 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
425 |
-IUSE="cli" |
426 |
- |
427 |
-RDEPEND=" |
428 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
429 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
430 |
- cli? ( |
431 |
- $(python_gen_cond_dep ' |
432 |
- dev-python/black[${PYTHON_USEDEP}] |
433 |
- dev-python/click[${PYTHON_USEDEP}] |
434 |
- ' python3_{8..10}) |
435 |
- ) |
436 |
-" |
437 |
-BDEPEND=" |
438 |
- test? ( |
439 |
- dev-python/mock[${PYTHON_USEDEP}] |
440 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
441 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
442 |
- !!<dev-python/typing-3.7.4.1 |
443 |
- ) |
444 |
-" |
445 |
- |
446 |
-distutils_enable_tests pytest |
447 |
- |
448 |
-python_test() { |
449 |
- # subtests are broken by warnings from random plugins |
450 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
451 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
452 |
- |
453 |
- epytest tests/cover tests/pytest tests/quality \ |
454 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
455 |
-} |
456 |
- |
457 |
-python_install() { |
458 |
- distutils-r1_python_install |
459 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
460 |
- rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die |
461 |
- fi |
462 |
-} |
463 |
- |
464 |
-pkg_postinst() { |
465 |
- optfeature "datetime support" dev-python/pytz |
466 |
- optfeature "dateutil support" dev-python/python-dateutil |
467 |
- optfeature "numpy support" dev-python/numpy |
468 |
- optfeature "django support" dev-python/django dev-python/pytz |
469 |
- optfeature "pandas support" dev-python/pandas |
470 |
- optfeature "pytest support" dev-python/pytest |
471 |
-} |
472 |
|
473 |
diff --git a/dev-python/hypothesis/hypothesis-6.41.0.ebuild b/dev-python/hypothesis/hypothesis-6.41.0.ebuild |
474 |
deleted file mode 100644 |
475 |
index 1bf4b6813bee..000000000000 |
476 |
--- a/dev-python/hypothesis/hypothesis-6.41.0.ebuild |
477 |
+++ /dev/null |
478 |
@@ -1,66 +0,0 @@ |
479 |
-# Copyright 1999-2022 Gentoo Authors |
480 |
-# Distributed under the terms of the GNU General Public License v2 |
481 |
- |
482 |
-EAPI=8 |
483 |
- |
484 |
-DISTUTILS_USE_PEP517=setuptools |
485 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
486 |
-PYTHON_REQ_USE="threads(+),sqlite" |
487 |
- |
488 |
-inherit distutils-r1 multiprocessing optfeature |
489 |
- |
490 |
-DESCRIPTION="A library for property based testing" |
491 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
492 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
493 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
494 |
- |
495 |
-LICENSE="MPL-2.0" |
496 |
-SLOT="0" |
497 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
498 |
-IUSE="cli" |
499 |
- |
500 |
-RDEPEND=" |
501 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
502 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
503 |
- cli? ( |
504 |
- $(python_gen_cond_dep ' |
505 |
- dev-python/black[${PYTHON_USEDEP}] |
506 |
- dev-python/click[${PYTHON_USEDEP}] |
507 |
- ' python3_{8..10}) |
508 |
- ) |
509 |
-" |
510 |
-BDEPEND=" |
511 |
- test? ( |
512 |
- dev-python/mock[${PYTHON_USEDEP}] |
513 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
514 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
515 |
- !!<dev-python/typing-3.7.4.1 |
516 |
- ) |
517 |
-" |
518 |
- |
519 |
-distutils_enable_tests pytest |
520 |
- |
521 |
-python_test() { |
522 |
- # subtests are broken by warnings from random plugins |
523 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
524 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
525 |
- |
526 |
- epytest tests/cover tests/pytest tests/quality \ |
527 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
528 |
-} |
529 |
- |
530 |
-python_install() { |
531 |
- distutils-r1_python_install |
532 |
- if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then |
533 |
- rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die |
534 |
- fi |
535 |
-} |
536 |
- |
537 |
-pkg_postinst() { |
538 |
- optfeature "datetime support" dev-python/pytz |
539 |
- optfeature "dateutil support" dev-python/python-dateutil |
540 |
- optfeature "numpy support" dev-python/numpy |
541 |
- optfeature "django support" dev-python/django dev-python/pytz |
542 |
- optfeature "pandas support" dev-python/pandas |
543 |
- optfeature "pytest support" dev-python/pytest |
544 |
-} |