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, 29 Nov 2019 11:00:24
Message-Id: 1575025186.282d317e19a13b57eafc7de2ed5d396e968092dd.mgorny@gentoo
1 commit: 282d317e19a13b57eafc7de2ed5d396e968092dd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 08:18:42 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 10:59:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=282d317e
7
8 dev-python/hypothesis: Drop redudant 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.47.1.ebuild | 58 --------------------------
14 dev-python/hypothesis/hypothesis-4.47.3.ebuild | 58 --------------------------
15 dev-python/hypothesis/hypothesis-4.47.4.ebuild | 58 --------------------------
16 4 files changed, 177 deletions(-)
17
18 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
19 index eb95b146c79..67e48780173 100644
20 --- a/dev-python/hypothesis/Manifest
21 +++ b/dev-python/hypothesis/Manifest
22 @@ -2,7 +2,4 @@ DIST hypothesis-python-3.59.1.tar.gz 500529 BLAKE2B 5c171045e363f2337d7ca30797b9
23 DIST hypothesis-python-3.74.3.tar.gz 552616 BLAKE2B e19a0991e7ae2fa6208c81d336cc66e3392bb78663f567fe28b570a1463a5359ccf713776f1f9cbd19a27a53b9a71a5be6eedfa05599fa12c047c373aa339592 SHA512 f4927d6e908a9222fa06f82ad6e4cf90c62a0a3d0c7632c17ee57a3705239901fcb5dbbcfca402c153bf2bea9dde0e51c852d2024ed5a236888327963fe13a3e
24 DIST hypothesis-python-4.15.0.tar.gz 1175925 BLAKE2B f3e3888b3f4e542d567bdaad2582eb23bd8ab2e218f1bde82ba1639123f32e8c147313c22b15781d8986574813b5f6eb7c23ce28367e86bb304d33a23f179fa0 SHA512 7d9788b351196fc20e66e210b7d60b4ddb1507b85cf5a29de228600e07f676ccd1352f5d2ab0820b3c8c1a1e8ff145225f00a25aec5f325cc7405ffd0dfcd9f7
25 DIST hypothesis-python-4.44.2.tar.gz 3240386 BLAKE2B 3fe3295ba1f7401e1fb74af894d91eda525f8ef51eb893f1f8e5224cead8572f3c06f6a4bb345c123e56ed06d0676c85dc4477a80e54480baa6bd9f5f2bc069e SHA512 bebc5da337fa74a75d08cb57531c2f6b8ba1ab16d1a3d9be8348cd56ada1ab25a34e3b812a4aa71bf172bc97ebc8df0accdad37466f9162c3f8f2a8edbea9da9
26 -DIST hypothesis-python-4.47.1.tar.gz 3253826 BLAKE2B 6daae1eef6c36b874f44d1e3c7a4ebd18e76c6a4d1543062cc53bbb93d65e1e0a441b084c97cb13f79867e4e77830c2ce71ef779f7086fdfb99756226911d81b SHA512 e3de34822b018a3d7ef474a90eff6b74ce3f214e374cadec34af80b8bdea90bcbc4f8e3de6cac9218729d99e8ffa12dd8216a53078801ba45b76552fac2a6c35
27 -DIST hypothesis-python-4.47.3.tar.gz 3254272 BLAKE2B 6f9b134b77cfc1e72012992c7b352d3cd52c503f1607f88638b54c9258fd80ff02c153231cda9cb81314580e79abcc749b285787d147fa0a7344ee077b5bad9f SHA512 1bb2737f505169d361350d63b09e66874b8d82f0363911cf6b7a73819629d71f62ebfba6d1f1129b6fc76588feb8bf171b6106d6209527d60694cc6268212137
28 -DIST hypothesis-python-4.47.4.tar.gz 3253968 BLAKE2B 94c0e6738a5e9cc852e8315023497ae7e067f5bc1ff9d501713e8ba4bc23e9b16535ec349a59a8bc9d44353f55a00eb71cc6dc55bf761ba585b88b5257c8e64e SHA512 8f78a2afd04402a8f4fb0a97c2f3e33ce42b85e5a3bd2965451d1310398856b61abafb0ad070192ed968a1f748f0182842d299bdae86888396fd58545ba03699
29 DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b38858d47fddba613ce37eb9a9554afa3c189776e9172965dd31f8497747ac13b2ab1d34ee6de8671646972e71b82c5260db489b9a SHA512 9b6920181dca75b9e551ae5e598101f35cfc26e9e3a1b20cab652c151bc6355413d0c9602d3242fb23f808ab00335793009df938d55ee19a6af1ce2a8b085e3c
30
31 diff --git a/dev-python/hypothesis/hypothesis-4.47.1.ebuild b/dev-python/hypothesis/hypothesis-4.47.1.ebuild
32 deleted file mode 100644
33 index 3def9e85121..00000000000
34 --- a/dev-python/hypothesis/hypothesis-4.47.1.ebuild
35 +++ /dev/null
36 @@ -1,58 +0,0 @@
37 -# Copyright 1999-2019 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_{5,6,7,8} pypy{,3} )
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~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 -"
61 -BDEPEND="
62 - dev-python/setuptools[${PYTHON_USEDEP}]
63 - test? (
64 - ${RDEPEND}
65 - dev-python/mock[${PYTHON_USEDEP}]
66 - dev-python/pexpect[${PYTHON_USEDEP}]
67 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
68 - !!<dev-python/typing-3.7.4.1
69 - )
70 -"
71 -
72 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
73 -
74 -src_prepare() {
75 - # avoid pytest-xdist dep for one test
76 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
77 - tests/pytest/test_statistics.py || die
78 - distutils-r1_src_prepare
79 -}
80 -
81 -python_test() {
82 - local pyver=$(python_is_python3 && echo 3 || echo 2)
83 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
84 - die "Tests fail with ${EPYTHON}"
85 -}
86 -
87 -pkg_postinst() {
88 - optfeature "datetime support" dev-python/pytz
89 - optfeature "dateutil support" dev-python/python-dateutil
90 - optfeature "numpy support" dev-python/numpy
91 - optfeature "django support" dev-python/django dev-python/pytz
92 - optfeature "pandas support" dev-python/pandas
93 - optfeature "pytest support" dev-python/pytest
94 -}
95
96 diff --git a/dev-python/hypothesis/hypothesis-4.47.3.ebuild b/dev-python/hypothesis/hypothesis-4.47.3.ebuild
97 deleted file mode 100644
98 index 3def9e85121..00000000000
99 --- a/dev-python/hypothesis/hypothesis-4.47.3.ebuild
100 +++ /dev/null
101 @@ -1,58 +0,0 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=7
106 -
107 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
108 -PYTHON_REQ_USE="threads(+),sqlite"
109 -
110 -inherit distutils-r1 eutils
111 -
112 -DESCRIPTION="A library for property based testing"
113 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
114 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
115 -
116 -LICENSE="MPL-2.0"
117 -SLOT="0"
118 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
119 -IUSE="test"
120 -RESTRICT="!test? ( test )"
121 -
122 -RDEPEND="
123 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
124 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)
125 -"
126 -BDEPEND="
127 - dev-python/setuptools[${PYTHON_USEDEP}]
128 - test? (
129 - ${RDEPEND}
130 - dev-python/mock[${PYTHON_USEDEP}]
131 - dev-python/pexpect[${PYTHON_USEDEP}]
132 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
133 - !!<dev-python/typing-3.7.4.1
134 - )
135 -"
136 -
137 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
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 - local pyver=$(python_is_python3 && echo 3 || echo 2)
148 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
149 - die "Tests fail with ${EPYTHON}"
150 -}
151 -
152 -pkg_postinst() {
153 - optfeature "datetime support" dev-python/pytz
154 - optfeature "dateutil support" dev-python/python-dateutil
155 - optfeature "numpy support" dev-python/numpy
156 - optfeature "django support" dev-python/django dev-python/pytz
157 - optfeature "pandas support" dev-python/pandas
158 - optfeature "pytest support" dev-python/pytest
159 -}
160
161 diff --git a/dev-python/hypothesis/hypothesis-4.47.4.ebuild b/dev-python/hypothesis/hypothesis-4.47.4.ebuild
162 deleted file mode 100644
163 index 3def9e85121..00000000000
164 --- a/dev-python/hypothesis/hypothesis-4.47.4.ebuild
165 +++ /dev/null
166 @@ -1,58 +0,0 @@
167 -# Copyright 1999-2019 Gentoo Authors
168 -# Distributed under the terms of the GNU General Public License v2
169 -
170 -EAPI=7
171 -
172 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
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 -
181 -LICENSE="MPL-2.0"
182 -SLOT="0"
183 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
184 -IUSE="test"
185 -RESTRICT="!test? ( test )"
186 -
187 -RDEPEND="
188 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
189 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)
190 -"
191 -BDEPEND="
192 - dev-python/setuptools[${PYTHON_USEDEP}]
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 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
203 -
204 -src_prepare() {
205 - # avoid pytest-xdist dep for one test
206 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
207 - tests/pytest/test_statistics.py || die
208 - distutils-r1_src_prepare
209 -}
210 -
211 -python_test() {
212 - local pyver=$(python_is_python3 && echo 3 || echo 2)
213 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
214 - die "Tests fail with ${EPYTHON}"
215 -}
216 -
217 -pkg_postinst() {
218 - optfeature "datetime support" dev-python/pytz
219 - optfeature "dateutil support" dev-python/python-dateutil
220 - optfeature "numpy support" dev-python/numpy
221 - optfeature "django support" dev-python/django dev-python/pytz
222 - optfeature "pandas support" dev-python/pandas
223 - optfeature "pytest support" dev-python/pytest
224 -}