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/hypothesis/
Date: Tue, 06 Sep 2022 20:36:01
Message-Id: 1662496424.7fd5cff7b0c51a38e5980072eeb07141859ed880.mgorny@gentoo
1 commit: 7fd5cff7b0c51a38e5980072eeb07141859ed880
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 20:33:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 20:33:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd5cff7
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 | 3 -
13 dev-python/hypothesis/hypothesis-6.53.0.ebuild | 76 --------------------------
14 dev-python/hypothesis/hypothesis-6.54.1.ebuild | 76 --------------------------
15 dev-python/hypothesis/hypothesis-6.54.2.ebuild | 76 --------------------------
16 4 files changed, 231 deletions(-)
17
18 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
19 index 8d500ee5a0f4..18929650288f 100644
20 --- a/dev-python/hypothesis/Manifest
21 +++ b/dev-python/hypothesis/Manifest
22 @@ -1,6 +1,3 @@
23 -DIST hypothesis-6.53.0.gh.tar.gz 9323355 BLAKE2B 589cd4803351e72cc1896453e5e548bb6fb5f998032bce91708e02f3c8ff5d288ec76d65eeffde5fa31b6b86fbb3ad81dfe3eebaaac841f197de3a07acfa12bd SHA512 ab4de3764ca3ce8e5e50966ea94fcadd85e7c9f170dbbd17383b5516528e091ebfe3b06846513ee77a1f7a2e827236d323c12cc120cac421ec7aa9f3a2ca5e4a
24 -DIST hypothesis-6.54.1.gh.tar.gz 9324403 BLAKE2B 897fa4901a5c5c0e32c4197020702dbe5d85a5ada79f52b66fc7f19180a32f4dce54f5300722f500fb560766e1ff76b5df648be6be0f229ece4b3aa0af856fc3 SHA512 ba4a7a3f5daa7437e903604d26a9dd0e4ce77d0a44a2e81fec5620f48a5f6a9080b5e5401fa1f7ee6c66d4e1d51cca095ce7e74999b0439b5a8a0c2d26f64464
25 -DIST hypothesis-6.54.2.gh.tar.gz 9324746 BLAKE2B 25e3effa9667e8b6c57dff0ed00c14cc36385678475a1a1ac9fd30d2e293ea3a49d76ad34e391b33bad7214ce97b5d23aebedcb5d7f74686f3182a72e133416f SHA512 f53d589426b2340f6d747763cc4228f632474bc833e53e2d67fd6545437fc46cf976055dd0f1a55c4cb6377667ce0b0d8bc7dae33454157fbb91af7a5b009b62
26 DIST hypothesis-6.54.3.gh.tar.gz 9325211 BLAKE2B e0d6bc21057b50676ef98d1c9721b82c30986670758b2a7bfd1b101cc8d42258bf0d61887867445aafe13b8064c47d64583ab492e21b6fea510ef0c26fe01782 SHA512 288c5ea9c1dd8ee0839c11385f52ba8b8122f408aa11c6d2416460233ef78890e3014e659ef4312da4822da3abe2dd9163f68d2711556800e805ae41280aa132
27 DIST hypothesis-6.54.4.gh.tar.gz 9325437 BLAKE2B 2000c806a0c791d1eb353a829e5e96d53e935d360fd450b3807186121fec4dfd171b8821e08b6c23b0cbea8d24b0d88c32126281173a0de2f12b29d09ec2d62b SHA512 7e5b70cc2df874163205e3d35f3f5e6a71319e779b35f1596c69222373e9b766a143ccf37aa1699de6b98827978e44ccbca0b1e30e6ffe29c8b68c83bb3af869
28 DIST hypothesis-6.54.5.gh.tar.gz 9325448 BLAKE2B b4cb8a413ad96f11f4dbf4a1a529e389dbca45561264cf0922721a25009d1065fdce21064faf53bd7aad2f589c159b52d899aa7b12c12da68beae8c9186c0505 SHA512 37205ea28b44537409a94592e466376e9612f84a8501ad2ff5504fc648e062555ffb600416bdd1f9a74f39ba39729defd581025e0611c501839721721f7cf6e3
29
30 diff --git a/dev-python/hypothesis/hypothesis-6.53.0.ebuild b/dev-python/hypothesis/hypothesis-6.53.0.ebuild
31 deleted file mode 100644
32 index 4fc4aa3ee205..000000000000
33 --- a/dev-python/hypothesis/hypothesis-6.53.0.ebuild
34 +++ /dev/null
35 @@ -1,76 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -DISTUTILS_USE_PEP517=setuptools
42 -CLI_COMPAT=( python3_{8..10} )
43 -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 )
44 -PYTHON_REQ_USE="threads(+),sqlite"
45 -
46 -inherit distutils-r1 multiprocessing optfeature
47 -
48 -TAG=hypothesis-python-${PV}
49 -MY_P=hypothesis-${TAG}
50 -DESCRIPTION="A library for property based testing"
51 -HOMEPAGE="
52 - https://github.com/HypothesisWorks/hypothesis/
53 - https://pypi.org/project/hypothesis/
54 -"
55 -SRC_URI="
56 - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
57 - -> ${P}.gh.tar.gz
58 -"
59 -S="${WORKDIR}/${MY_P}/hypothesis-python"
60 -
61 -LICENSE="MPL-2.0"
62 -SLOT="0"
63 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
64 -IUSE="cli"
65 -
66 -RDEPEND="
67 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
68 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
69 - $(python_gen_cond_dep '
70 - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
71 - ' 3.8 3.9 3.10)
72 - cli? (
73 - $(python_gen_cond_dep '
74 - dev-python/black[${PYTHON_USEDEP}]
75 - dev-python/click[${PYTHON_USEDEP}]
76 - ' "${CLI_COMPAT[@]}")
77 - )
78 -"
79 -BDEPEND="
80 - test? (
81 - dev-python/mock[${PYTHON_USEDEP}]
82 - dev-python/pexpect[${PYTHON_USEDEP}]
83 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
84 - )
85 -"
86 -
87 -distutils_enable_tests pytest
88 -
89 -python_test() {
90 - # subtests are broken by warnings from random plugins
91 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
92 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
93 -
94 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
95 -}
96 -
97 -python_install() {
98 - distutils-r1_python_install
99 - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
100 - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
101 - fi
102 -}
103 -
104 -pkg_postinst() {
105 - optfeature "datetime support" dev-python/pytz
106 - optfeature "dateutil support" dev-python/python-dateutil
107 - optfeature "numpy support" dev-python/numpy
108 - optfeature "django support" dev-python/django dev-python/pytz
109 - optfeature "pandas support" dev-python/pandas
110 - optfeature "pytest support" dev-python/pytest
111 -}
112
113 diff --git a/dev-python/hypothesis/hypothesis-6.54.1.ebuild b/dev-python/hypothesis/hypothesis-6.54.1.ebuild
114 deleted file mode 100644
115 index 1065b755121f..000000000000
116 --- a/dev-python/hypothesis/hypothesis-6.54.1.ebuild
117 +++ /dev/null
118 @@ -1,76 +0,0 @@
119 -# Copyright 1999-2022 Gentoo Authors
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=8
123 -
124 -DISTUTILS_USE_PEP517=setuptools
125 -CLI_COMPAT=( python3_{8..10} )
126 -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 )
127 -PYTHON_REQ_USE="threads(+),sqlite"
128 -
129 -inherit distutils-r1 multiprocessing optfeature
130 -
131 -TAG=hypothesis-python-${PV}
132 -MY_P=hypothesis-${TAG}
133 -DESCRIPTION="A library for property based testing"
134 -HOMEPAGE="
135 - https://github.com/HypothesisWorks/hypothesis/
136 - https://pypi.org/project/hypothesis/
137 -"
138 -SRC_URI="
139 - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
140 - -> ${P}.gh.tar.gz
141 -"
142 -S="${WORKDIR}/${MY_P}/hypothesis-python"
143 -
144 -LICENSE="MPL-2.0"
145 -SLOT="0"
146 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
147 -IUSE="cli"
148 -
149 -RDEPEND="
150 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
151 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
152 - $(python_gen_cond_dep '
153 - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
154 - ' 3.8 3.9 3.10)
155 - cli? (
156 - $(python_gen_cond_dep '
157 - dev-python/black[${PYTHON_USEDEP}]
158 - dev-python/click[${PYTHON_USEDEP}]
159 - ' "${CLI_COMPAT[@]}")
160 - )
161 -"
162 -BDEPEND="
163 - test? (
164 - dev-python/mock[${PYTHON_USEDEP}]
165 - dev-python/pexpect[${PYTHON_USEDEP}]
166 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
167 - )
168 -"
169 -
170 -distutils_enable_tests pytest
171 -
172 -python_test() {
173 - # subtests are broken by warnings from random plugins
174 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
175 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
176 -
177 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
178 -}
179 -
180 -python_install() {
181 - distutils-r1_python_install
182 - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
183 - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
184 - fi
185 -}
186 -
187 -pkg_postinst() {
188 - optfeature "datetime support" dev-python/pytz
189 - optfeature "dateutil support" dev-python/python-dateutil
190 - optfeature "numpy support" dev-python/numpy
191 - optfeature "django support" dev-python/django dev-python/pytz
192 - optfeature "pandas support" dev-python/pandas
193 - optfeature "pytest support" dev-python/pytest
194 -}
195
196 diff --git a/dev-python/hypothesis/hypothesis-6.54.2.ebuild b/dev-python/hypothesis/hypothesis-6.54.2.ebuild
197 deleted file mode 100644
198 index 1065b755121f..000000000000
199 --- a/dev-python/hypothesis/hypothesis-6.54.2.ebuild
200 +++ /dev/null
201 @@ -1,76 +0,0 @@
202 -# Copyright 1999-2022 Gentoo Authors
203 -# Distributed under the terms of the GNU General Public License v2
204 -
205 -EAPI=8
206 -
207 -DISTUTILS_USE_PEP517=setuptools
208 -CLI_COMPAT=( python3_{8..10} )
209 -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 )
210 -PYTHON_REQ_USE="threads(+),sqlite"
211 -
212 -inherit distutils-r1 multiprocessing optfeature
213 -
214 -TAG=hypothesis-python-${PV}
215 -MY_P=hypothesis-${TAG}
216 -DESCRIPTION="A library for property based testing"
217 -HOMEPAGE="
218 - https://github.com/HypothesisWorks/hypothesis/
219 - https://pypi.org/project/hypothesis/
220 -"
221 -SRC_URI="
222 - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
223 - -> ${P}.gh.tar.gz
224 -"
225 -S="${WORKDIR}/${MY_P}/hypothesis-python"
226 -
227 -LICENSE="MPL-2.0"
228 -SLOT="0"
229 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
230 -IUSE="cli"
231 -
232 -RDEPEND="
233 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
234 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
235 - $(python_gen_cond_dep '
236 - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
237 - ' 3.8 3.9 3.10)
238 - cli? (
239 - $(python_gen_cond_dep '
240 - dev-python/black[${PYTHON_USEDEP}]
241 - dev-python/click[${PYTHON_USEDEP}]
242 - ' "${CLI_COMPAT[@]}")
243 - )
244 -"
245 -BDEPEND="
246 - test? (
247 - dev-python/mock[${PYTHON_USEDEP}]
248 - dev-python/pexpect[${PYTHON_USEDEP}]
249 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
250 - )
251 -"
252 -
253 -distutils_enable_tests pytest
254 -
255 -python_test() {
256 - # subtests are broken by warnings from random plugins
257 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
258 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
259 -
260 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
261 -}
262 -
263 -python_install() {
264 - distutils-r1_python_install
265 - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
266 - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
267 - fi
268 -}
269 -
270 -pkg_postinst() {
271 - optfeature "datetime support" dev-python/pytz
272 - optfeature "dateutil support" dev-python/python-dateutil
273 - optfeature "numpy support" dev-python/numpy
274 - optfeature "django support" dev-python/django dev-python/pytz
275 - optfeature "pandas support" dev-python/pandas
276 - optfeature "pytest support" dev-python/pytest
277 -}