1 |
commit: 0428dc3f8937840ad58e2155a3d39d8a36eb4e4e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 06:07:24 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 7 07:15:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0428dc3f |
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 | 3 -- |
13 |
dev-python/hypothesis/hypothesis-4.55.4.ebuild | 59 -------------------------- |
14 |
dev-python/hypothesis/hypothesis-5.3.0.ebuild | 56 ------------------------ |
15 |
dev-python/hypothesis/hypothesis-5.4.0.ebuild | 56 ------------------------ |
16 |
4 files changed, 174 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
19 |
index ed5395adc63..85487554961 100644 |
20 |
--- a/dev-python/hypothesis/Manifest |
21 |
+++ b/dev-python/hypothesis/Manifest |
22 |
@@ -1,7 +1,4 @@ |
23 |
DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b38858d47fddba613ce37eb9a9554afa3c189776e9172965dd31f8497747ac13b2ab1d34ee6de8671646972e71b82c5260db489b9a SHA512 9b6920181dca75b9e551ae5e598101f35cfc26e9e3a1b20cab652c151bc6355413d0c9602d3242fb23f808ab00335793009df938d55ee19a6af1ce2a8b085e3c |
24 |
DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545 |
25 |
-DIST hypothesis-python-4.55.4.tar.gz 9004357 BLAKE2B 93fe51581f044cf5f416d9b74b82ce2f9b42e7391beae8f67debdf50494e662f07bf109274d4e29fcf3a1c1c944597cde2a4ff9e7ca65a48f1244c3205f365af SHA512 91d7d2cda32fd40d5368fdd1e60b990b8307573782d822113b6817a5c0b670610693a2f2b013f828913549946fa3dc15f45303bf7d3226bdc1e4527bc18981fb |
26 |
DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952 |
27 |
-DIST hypothesis-python-5.3.0.tar.gz 8991842 BLAKE2B 9bd5124a6a0b07c910aebd5caa3a27d6ee19d307f88438ef097b09108a6c41d4b548c224861b1aed766a84696fe494c3b50f55b0b35bf81563ee62c366a03956 SHA512 d622c6754e6162120e7bdc17f482d64e917042499179668744b26e09ba355d94681b2e1029d786c38af19c4193c41eb5fe3e4a7ecc322acd1895b8f90d2b1f95 |
28 |
-DIST hypothesis-python-5.4.0.tar.gz 8992011 BLAKE2B 0d748429e34360437799d043f75282153687b84c1f0c27f18846c75bf6a801797c460f3e1d22a04d52f1b046cb33d6ac34fcae93c40180e0273957ea81e3fb40 SHA512 9b168f11f9d7e720691ce3fdbff8f97d3fdfff86bdc9ab2683e58ff31dece36d57b468693fcf3b1b7e6cfc16022dd733eacabbf5bd08042ac8cca6c45050c129 |
29 |
DIST hypothesis-python-5.4.1.tar.gz 8993002 BLAKE2B b96f9080f7a5b307698ee1119495cb5356ccd2836f1d3ae66077bc0be2793d5d62beba09b2a38e5486f6d0d09e95ac85e81511c5ab7434c7285608a0ae62caa7 SHA512 bf01c50ea998aee2a547132806845aa9330a3830ce2b864f0ab9e2d9b9dd7dbdc9ec4db2ef77bfb9a76467b00f3ca1c00acbba7bdea569dab3038914a598d0c0 |
30 |
|
31 |
diff --git a/dev-python/hypothesis/hypothesis-4.55.4.ebuild b/dev-python/hypothesis/hypothesis-4.55.4.ebuild |
32 |
deleted file mode 100644 |
33 |
index 996a19c65c4..00000000000 |
34 |
--- a/dev-python/hypothesis/hypothesis-4.55.4.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,59 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=7 |
41 |
- |
42 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
43 |
-PYTHON_REQ_USE="threads(+),sqlite" |
44 |
- |
45 |
-inherit distutils-r1 eutils |
46 |
- |
47 |
-DESCRIPTION="A library for property based testing" |
48 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
49 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
50 |
- |
51 |
-LICENSE="MPL-2.0" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
54 |
-IUSE="test" |
55 |
-RESTRICT="!test? ( test )" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
59 |
- $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) |
60 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
61 |
-" |
62 |
-BDEPEND=" |
63 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
- test? ( |
65 |
- ${RDEPEND} |
66 |
- dev-python/mock[${PYTHON_USEDEP}] |
67 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
68 |
- >=dev-python/pytest-4.3[${PYTHON_USEDEP}] |
69 |
- !!<dev-python/typing-3.7.4.1 |
70 |
- ) |
71 |
-" |
72 |
- |
73 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
74 |
- |
75 |
-src_prepare() { |
76 |
- # avoid pytest-xdist dep for one test |
77 |
- sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ |
78 |
- tests/pytest/test_statistics.py || die |
79 |
- distutils-r1_src_prepare |
80 |
-} |
81 |
- |
82 |
-python_test() { |
83 |
- local pyver=$(python_is_python3 && echo 3 || echo 2) |
84 |
- pytest -vv tests/cover tests/pytest tests/py${pyver} || |
85 |
- die "Tests fail with ${EPYTHON}" |
86 |
-} |
87 |
- |
88 |
-pkg_postinst() { |
89 |
- optfeature "datetime support" dev-python/pytz |
90 |
- optfeature "dateutil support" dev-python/python-dateutil |
91 |
- optfeature "numpy support" dev-python/numpy |
92 |
- optfeature "django support" dev-python/django dev-python/pytz |
93 |
- optfeature "pandas support" dev-python/pandas |
94 |
- optfeature "pytest support" dev-python/pytest |
95 |
-} |
96 |
|
97 |
diff --git a/dev-python/hypothesis/hypothesis-5.3.0.ebuild b/dev-python/hypothesis/hypothesis-5.3.0.ebuild |
98 |
deleted file mode 100644 |
99 |
index d1f7fce2bf7..00000000000 |
100 |
--- a/dev-python/hypothesis/hypothesis-5.3.0.ebuild |
101 |
+++ /dev/null |
102 |
@@ -1,56 +0,0 @@ |
103 |
-# Copyright 1999-2020 Gentoo Authors |
104 |
-# Distributed under the terms of the GNU General Public License v2 |
105 |
- |
106 |
-EAPI=7 |
107 |
- |
108 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
109 |
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
110 |
-PYTHON_REQ_USE="threads(+),sqlite" |
111 |
- |
112 |
-inherit distutils-r1 eutils |
113 |
- |
114 |
-DESCRIPTION="A library for property based testing" |
115 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
116 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
117 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
118 |
- |
119 |
-LICENSE="MPL-2.0" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" |
122 |
-IUSE="test" |
123 |
-RESTRICT="!test? ( test )" |
124 |
- |
125 |
-RDEPEND=" |
126 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
127 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
128 |
-" |
129 |
-BDEPEND=" |
130 |
- test? ( |
131 |
- ${RDEPEND} |
132 |
- dev-python/mock[${PYTHON_USEDEP}] |
133 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
134 |
- >=dev-python/pytest-4.3[${PYTHON_USEDEP}] |
135 |
- !!<dev-python/typing-3.7.4.1 |
136 |
- ) |
137 |
-" |
138 |
- |
139 |
-src_prepare() { |
140 |
- # avoid pytest-xdist dep for one test |
141 |
- sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ |
142 |
- tests/pytest/test_statistics.py || die |
143 |
- distutils-r1_src_prepare |
144 |
-} |
145 |
- |
146 |
-python_test() { |
147 |
- pytest -vv tests/cover tests/pytest tests/quality || |
148 |
- die "Tests fail with ${EPYTHON}" |
149 |
-} |
150 |
- |
151 |
-pkg_postinst() { |
152 |
- optfeature "datetime support" dev-python/pytz |
153 |
- optfeature "dateutil support" dev-python/python-dateutil |
154 |
- optfeature "numpy support" dev-python/numpy |
155 |
- optfeature "django support" dev-python/django dev-python/pytz |
156 |
- optfeature "pandas support" dev-python/pandas |
157 |
- optfeature "pytest support" dev-python/pytest |
158 |
-} |
159 |
|
160 |
diff --git a/dev-python/hypothesis/hypothesis-5.4.0.ebuild b/dev-python/hypothesis/hypothesis-5.4.0.ebuild |
161 |
deleted file mode 100644 |
162 |
index d1f7fce2bf7..00000000000 |
163 |
--- a/dev-python/hypothesis/hypothesis-5.4.0.ebuild |
164 |
+++ /dev/null |
165 |
@@ -1,56 +0,0 @@ |
166 |
-# Copyright 1999-2020 Gentoo Authors |
167 |
-# Distributed under the terms of the GNU General Public License v2 |
168 |
- |
169 |
-EAPI=7 |
170 |
- |
171 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
172 |
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
173 |
-PYTHON_REQ_USE="threads(+),sqlite" |
174 |
- |
175 |
-inherit distutils-r1 eutils |
176 |
- |
177 |
-DESCRIPTION="A library for property based testing" |
178 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
179 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
180 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
181 |
- |
182 |
-LICENSE="MPL-2.0" |
183 |
-SLOT="0" |
184 |
-KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" |
185 |
-IUSE="test" |
186 |
-RESTRICT="!test? ( test )" |
187 |
- |
188 |
-RDEPEND=" |
189 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
190 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
191 |
-" |
192 |
-BDEPEND=" |
193 |
- test? ( |
194 |
- ${RDEPEND} |
195 |
- dev-python/mock[${PYTHON_USEDEP}] |
196 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
197 |
- >=dev-python/pytest-4.3[${PYTHON_USEDEP}] |
198 |
- !!<dev-python/typing-3.7.4.1 |
199 |
- ) |
200 |
-" |
201 |
- |
202 |
-src_prepare() { |
203 |
- # avoid pytest-xdist dep for one test |
204 |
- sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ |
205 |
- tests/pytest/test_statistics.py || die |
206 |
- distutils-r1_src_prepare |
207 |
-} |
208 |
- |
209 |
-python_test() { |
210 |
- pytest -vv tests/cover tests/pytest tests/quality || |
211 |
- die "Tests fail with ${EPYTHON}" |
212 |
-} |
213 |
- |
214 |
-pkg_postinst() { |
215 |
- optfeature "datetime support" dev-python/pytz |
216 |
- optfeature "dateutil support" dev-python/python-dateutil |
217 |
- optfeature "numpy support" dev-python/numpy |
218 |
- optfeature "django support" dev-python/django dev-python/pytz |
219 |
- optfeature "pandas support" dev-python/pandas |
220 |
- optfeature "pytest support" dev-python/pytest |
221 |
-} |