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: Fri, 31 Jan 2020 10:35:12
Message-Id: 1580466904.1034ebade90a23734814a76cdd30e2d3f8057aab.mgorny@gentoo
1 commit: 1034ebade90a23734814a76cdd30e2d3f8057aab
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 31 10:33:35 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 31 10:35:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1034ebad
7
8 dev-python/hypothesis: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/hypothesis/Manifest | 4 --
13 dev-python/hypothesis/hypothesis-4.15.0.ebuild | 49 ----------------------
14 dev-python/hypothesis/hypothesis-5.1.4.ebuild | 56 --------------------------
15 dev-python/hypothesis/hypothesis-5.1.5.ebuild | 56 --------------------------
16 dev-python/hypothesis/hypothesis-5.1.6.ebuild | 56 --------------------------
17 5 files changed, 221 deletions(-)
18
19 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
20 index 4e60bcf53dc..a17e8c10c4a 100644
21 --- a/dev-python/hypothesis/Manifest
22 +++ b/dev-python/hypothesis/Manifest
23 @@ -1,10 +1,6 @@
24 -DIST hypothesis-python-4.15.0.tar.gz 1175925 BLAKE2B f3e3888b3f4e542d567bdaad2582eb23bd8ab2e218f1bde82ba1639123f32e8c147313c22b15781d8986574813b5f6eb7c23ce28367e86bb304d33a23f179fa0 SHA512 7d9788b351196fc20e66e210b7d60b4ddb1507b85cf5a29de228600e07f676ccd1352f5d2ab0820b3c8c1a1e8ff145225f00a25aec5f325cc7405ffd0dfcd9f7
25 DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b38858d47fddba613ce37eb9a9554afa3c189776e9172965dd31f8497747ac13b2ab1d34ee6de8671646972e71b82c5260db489b9a SHA512 9b6920181dca75b9e551ae5e598101f35cfc26e9e3a1b20cab652c151bc6355413d0c9602d3242fb23f808ab00335793009df938d55ee19a6af1ce2a8b085e3c
26 DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545
27 DIST hypothesis-python-4.55.4.tar.gz 9004357 BLAKE2B 93fe51581f044cf5f416d9b74b82ce2f9b42e7391beae8f67debdf50494e662f07bf109274d4e29fcf3a1c1c944597cde2a4ff9e7ca65a48f1244c3205f365af SHA512 91d7d2cda32fd40d5368fdd1e60b990b8307573782d822113b6817a5c0b670610693a2f2b013f828913549946fa3dc15f45303bf7d3226bdc1e4527bc18981fb
28 DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952
29 -DIST hypothesis-python-5.1.4.tar.gz 8989696 BLAKE2B 9d85cb1473654e36a235a07d2390fc967d6d7f2944e5294dedbca15ddb3c49901b04e9277ee80ff7591aa2b81ea0e2d537051f96b685900aefab5db70d135ac6 SHA512 25d0112f7b7a13221b8b68d553f4085344f1e8681c8795fac0bcfd714400a828539298d2919d3e638979eadd5daa65ef7ee8b0b946df076145e59c8bb7058a64
30 -DIST hypothesis-python-5.1.5.tar.gz 8989752 BLAKE2B e1dc2720fd8500436ff0ec0fadd8c7986f279be125f8cebf376349d6c6d1d28f9225cceb2fa54ab66e92c6750832dc6d157cf156980e7f58aa7251a1eff625fd SHA512 89edc57116b3c503df2f0c6d4e60637ace6a7fc5c4ece6b426362b01a0be11e79be1e95784e24d849ac120000165ff46efd78c6cb6b163aebcb2b5a8c8d4c8e1
31 -DIST hypothesis-python-5.1.6.tar.gz 8990038 BLAKE2B c6f1c2974d84d60da7ab7b704c8dee96bc819de3e8a237343398c0fe74191ace9cbd23299b16189eaefa936fda87d9ee8fe171f37ff39014ba59cc421b2af03c SHA512 e9049506a7da1df40dfad5bef5f270116047f3633ff27bbbd83ebf5f93b89010446c8ccd12100b033dcbf2743f0c17aabcbaf1774aeba0efc1e7483d58eaba81
32 DIST hypothesis-python-5.3.0.tar.gz 8991842 BLAKE2B 9bd5124a6a0b07c910aebd5caa3a27d6ee19d307f88438ef097b09108a6c41d4b548c224861b1aed766a84696fe494c3b50f55b0b35bf81563ee62c366a03956 SHA512 d622c6754e6162120e7bdc17f482d64e917042499179668744b26e09ba355d94681b2e1029d786c38af19c4193c41eb5fe3e4a7ecc322acd1895b8f90d2b1f95
33 DIST hypothesis-python-5.4.0.tar.gz 8992011 BLAKE2B 0d748429e34360437799d043f75282153687b84c1f0c27f18846c75bf6a801797c460f3e1d22a04d52f1b046cb33d6ac34fcae93c40180e0273957ea81e3fb40 SHA512 9b168f11f9d7e720691ce3fdbff8f97d3fdfff86bdc9ab2683e58ff31dece36d57b468693fcf3b1b7e6cfc16022dd733eacabbf5bd08042ac8cca6c45050c129
34
35 diff --git a/dev-python/hypothesis/hypothesis-4.15.0.ebuild b/dev-python/hypothesis/hypothesis-4.15.0.ebuild
36 deleted file mode 100644
37 index b1277bd243c..00000000000
38 --- a/dev-python/hypothesis/hypothesis-4.15.0.ebuild
39 +++ /dev/null
40 @@ -1,49 +0,0 @@
41 -# Copyright 1999-2020 Gentoo Authors
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=7
45 -
46 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
47 -PYTHON_REQ_USE="threads(+),sqlite"
48 -
49 -inherit distutils-r1 eutils
50 -
51 -DESCRIPTION="A library for property based testing"
52 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
53 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
54 -
55 -LICENSE="MPL-2.0"
56 -SLOT="0"
57 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86"
58 -IUSE="test"
59 -RESTRICT="!test? ( test )"
60 -
61 -CDEPEND="
62 - >=dev-python/attrs-16.0.0[${PYTHON_USEDEP}]
63 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)
64 -"
65 -RDEPEND="${CDEPEND}"
66 -DEPEND="${CDEPEND}
67 - dev-python/setuptools[${PYTHON_USEDEP}]
68 - test? (
69 - dev-python/flaky[${PYTHON_USEDEP}]
70 - dev-python/mock[${PYTHON_USEDEP}]
71 - dev-python/pytest[${PYTHON_USEDEP}]
72 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
73 - )
74 -"
75 -
76 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
77 -
78 -python_test() {
79 - py.test -v tests/cover/test_testdecorators.py || die "Tests fail with ${EPYTHON}"
80 -}
81 -
82 -pkg_postinst() {
83 - optfeature "datetime support" dev-python/pytz
84 - optfeature "dateutil support" dev-python/python-dateutil
85 - optfeature "numpy support" dev-python/numpy
86 - optfeature "django support" dev-python/django dev-python/pytz
87 - optfeature "pandas support" dev-python/pandas
88 - optfeature "pytest support" dev-python/pytest
89 -}
90
91 diff --git a/dev-python/hypothesis/hypothesis-5.1.4.ebuild b/dev-python/hypothesis/hypothesis-5.1.4.ebuild
92 deleted file mode 100644
93 index 24078c547ce..00000000000
94 --- a/dev-python/hypothesis/hypothesis-5.1.4.ebuild
95 +++ /dev/null
96 @@ -1,56 +0,0 @@
97 -# Copyright 1999-2020 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=7
101 -
102 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
103 -PYTHON_REQ_USE="threads(+),sqlite"
104 -
105 -inherit distutils-r1 eutils
106 -
107 -DESCRIPTION="A library for property based testing"
108 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
109 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
110 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
111 -
112 -LICENSE="MPL-2.0"
113 -SLOT="0"
114 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
115 -IUSE="test"
116 -RESTRICT="!test? ( test )"
117 -
118 -RDEPEND="
119 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
120 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
121 -"
122 -BDEPEND="
123 - dev-python/setuptools[${PYTHON_USEDEP}]
124 - test? (
125 - ${RDEPEND}
126 - dev-python/mock[${PYTHON_USEDEP}]
127 - dev-python/pexpect[${PYTHON_USEDEP}]
128 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
129 - !!<dev-python/typing-3.7.4.1
130 - )
131 -"
132 -
133 -src_prepare() {
134 - # avoid pytest-xdist dep for one test
135 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
136 - tests/pytest/test_statistics.py || die
137 - distutils-r1_src_prepare
138 -}
139 -
140 -python_test() {
141 - pytest -vv tests/cover tests/pytest tests/quality ||
142 - die "Tests fail with ${EPYTHON}"
143 -}
144 -
145 -pkg_postinst() {
146 - optfeature "datetime support" dev-python/pytz
147 - optfeature "dateutil support" dev-python/python-dateutil
148 - optfeature "numpy support" dev-python/numpy
149 - optfeature "django support" dev-python/django dev-python/pytz
150 - optfeature "pandas support" dev-python/pandas
151 - optfeature "pytest support" dev-python/pytest
152 -}
153
154 diff --git a/dev-python/hypothesis/hypothesis-5.1.5.ebuild b/dev-python/hypothesis/hypothesis-5.1.5.ebuild
155 deleted file mode 100644
156 index 963f87ee74a..00000000000
157 --- a/dev-python/hypothesis/hypothesis-5.1.5.ebuild
158 +++ /dev/null
159 @@ -1,56 +0,0 @@
160 -# Copyright 1999-2020 Gentoo Authors
161 -# Distributed under the terms of the GNU General Public License v2
162 -
163 -EAPI=7
164 -
165 -DISTUTILS_USE_SETUPTOOLS=rdepend
166 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
167 -PYTHON_REQ_USE="threads(+),sqlite"
168 -
169 -inherit distutils-r1 eutils
170 -
171 -DESCRIPTION="A library for property based testing"
172 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
173 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
174 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
175 -
176 -LICENSE="MPL-2.0"
177 -SLOT="0"
178 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
179 -IUSE="test"
180 -RESTRICT="!test? ( test )"
181 -
182 -RDEPEND="
183 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
184 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
185 -"
186 -BDEPEND="
187 - test? (
188 - ${RDEPEND}
189 - dev-python/mock[${PYTHON_USEDEP}]
190 - dev-python/pexpect[${PYTHON_USEDEP}]
191 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
192 - !!<dev-python/typing-3.7.4.1
193 - )
194 -"
195 -
196 -src_prepare() {
197 - # avoid pytest-xdist dep for one test
198 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
199 - tests/pytest/test_statistics.py || die
200 - distutils-r1_src_prepare
201 -}
202 -
203 -python_test() {
204 - pytest -vv tests/cover tests/pytest tests/quality ||
205 - die "Tests fail with ${EPYTHON}"
206 -}
207 -
208 -pkg_postinst() {
209 - optfeature "datetime support" dev-python/pytz
210 - optfeature "dateutil support" dev-python/python-dateutil
211 - optfeature "numpy support" dev-python/numpy
212 - optfeature "django support" dev-python/django dev-python/pytz
213 - optfeature "pandas support" dev-python/pandas
214 - optfeature "pytest support" dev-python/pytest
215 -}
216
217 diff --git a/dev-python/hypothesis/hypothesis-5.1.6.ebuild b/dev-python/hypothesis/hypothesis-5.1.6.ebuild
218 deleted file mode 100644
219 index 963f87ee74a..00000000000
220 --- a/dev-python/hypothesis/hypothesis-5.1.6.ebuild
221 +++ /dev/null
222 @@ -1,56 +0,0 @@
223 -# Copyright 1999-2020 Gentoo Authors
224 -# Distributed under the terms of the GNU General Public License v2
225 -
226 -EAPI=7
227 -
228 -DISTUTILS_USE_SETUPTOOLS=rdepend
229 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
230 -PYTHON_REQ_USE="threads(+),sqlite"
231 -
232 -inherit distutils-r1 eutils
233 -
234 -DESCRIPTION="A library for property based testing"
235 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
236 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
237 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
238 -
239 -LICENSE="MPL-2.0"
240 -SLOT="0"
241 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
242 -IUSE="test"
243 -RESTRICT="!test? ( test )"
244 -
245 -RDEPEND="
246 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
247 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
248 -"
249 -BDEPEND="
250 - test? (
251 - ${RDEPEND}
252 - dev-python/mock[${PYTHON_USEDEP}]
253 - dev-python/pexpect[${PYTHON_USEDEP}]
254 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
255 - !!<dev-python/typing-3.7.4.1
256 - )
257 -"
258 -
259 -src_prepare() {
260 - # avoid pytest-xdist dep for one test
261 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
262 - tests/pytest/test_statistics.py || die
263 - distutils-r1_src_prepare
264 -}
265 -
266 -python_test() {
267 - pytest -vv tests/cover tests/pytest tests/quality ||
268 - die "Tests fail with ${EPYTHON}"
269 -}
270 -
271 -pkg_postinst() {
272 - optfeature "datetime support" dev-python/pytz
273 - optfeature "dateutil support" dev-python/python-dateutil
274 - optfeature "numpy support" dev-python/numpy
275 - optfeature "django support" dev-python/django dev-python/pytz
276 - optfeature "pandas support" dev-python/pandas
277 - optfeature "pytest support" dev-python/pytest
278 -}