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/stripe/
Date: Sun, 01 May 2022 13:04:10
Message-Id: 1651410053.27a33f77e1a447b5bedede9555a4dc9dd2ccec09.mgorny@gentoo
1 commit: 27a33f77e1a447b5bedede9555a4dc9dd2ccec09
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 13:00:53 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 13:00:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a33f77
7
8 dev-python/stripe: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/stripe/Manifest | 5 ---
13 dev-python/stripe/stripe-2.67.0.ebuild | 62 -------------------------------
14 dev-python/stripe/stripe-2.70.0.ebuild | 68 ----------------------------------
15 dev-python/stripe/stripe-2.71.0.ebuild | 68 ----------------------------------
16 dev-python/stripe/stripe-2.72.0.ebuild | 68 ----------------------------------
17 dev-python/stripe/stripe-2.73.0.ebuild | 68 ----------------------------------
18 6 files changed, 339 deletions(-)
19
20 diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest
21 index 7e34ab2903d7..5bd3002993be 100644
22 --- a/dev-python/stripe/Manifest
23 +++ b/dev-python/stripe/Manifest
24 @@ -1,6 +1 @@
25 -DIST stripe-2.67.0.tar.gz 235426 BLAKE2B ee396b0b7d3991afdd81e6b051fad0168a7b3dcfaddccc7700292878fc437788dcc40480fea2131dd52e3b787dc6e7b420d6023079f55d9365f76076cc51070d SHA512 099208259c6ca8d69fd6f39f72b9f12f41eace2f0a2a08b017f6141ad06882df742749941326fb8d9898db7c59e32ed74a464ad372d6f7f0a929c9ae4e4d2475
26 -DIST stripe-2.70.0.tar.gz 239653 BLAKE2B d59d7b452e91169e83e4d4bc10b544fc94c48aa3a967c899136b1b9ea60e835d998c1a5a0c5e131989d9628c36b77e3fe133952dddbede69d0bcfa11dc9fc640 SHA512 62f40d82e4a5d37ce070a2457b8372d903993e209f6a042ab97a93f5ee98eb994c0cac070451e2b130df9a72f4a9ece65600266735b438aff3cc5cf09e217b27
27 -DIST stripe-2.71.0.tar.gz 239817 BLAKE2B c1b8fad45e7e9fee79f841502aaad1a849f345357d2facfab833bc50129c5d9eac6c2af128ef572f9d295da966b8a38b095786b44bf026eac6f6d001470ae60a SHA512 5acbaba1e2a5e063beafd0b67994a4a4c7d207f220a49e84b7ab3c0288a92150fd10048f7782e32c3033f4a920f5e81a0893610545e5d1f49ee6dbe62aa4b3a5
28 -DIST stripe-2.72.0.tar.gz 239987 BLAKE2B 8eb1ea8446cb106c75b0a005478ae28c893338ecc0bb2d0017ad7e9a775108ed0eac1d3e05a5038330b89a47ffc311d4d0367df63c9d0ce01552afd7e4f3e82e SHA512 b9f98ce94002cbebdad5e2b7dc90b4f4d1b4c637db7509881a346c772f90d2154a49109aee15f650559ed8c253e82f466a5a4b6409efc8e00442c80195e1a3a8
29 -DIST stripe-2.73.0.tar.gz 240478 BLAKE2B d85b31670b3e055c42ccaeeb49ca34ed48e0ca299ab2a4e5d87e7f8e8121c52a072027b390bd21e8b7cab4fd77952fa2b6273eccf1a1c933129326a051ebb8d3 SHA512 e2b41d28c9a63564a86e2acd1f36727b34f9133b43104ad6736ad9f706396ce534e59252728342ffea1ce766fcc15b9fc24a00a7797547e8e3fc05943a462a9c
30 DIST stripe-2.74.0.tar.gz 240731 BLAKE2B 68d80f0dab200087f454c98bfabf483ce7b6db06061d5dce81bc258e0425576b54a5e9c6a9134d59064ae978db4bdda407f12eaa8ac48b51a87722473732a8b9 SHA512 f7f549e5b5eec38248320f7852f0c5fa3476f3d68aab646f04f207e0d6be20cb54ed13e4093d40313502c9aed7b60392c20c1baded4bb845703647d8c022342b
31
32 diff --git a/dev-python/stripe/stripe-2.67.0.ebuild b/dev-python/stripe/stripe-2.67.0.ebuild
33 deleted file mode 100644
34 index a7580d7aa3da..000000000000
35 --- a/dev-python/stripe/stripe-2.67.0.ebuild
36 +++ /dev/null
37 @@ -1,62 +0,0 @@
38 -# Copyright 1999-2022 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=8
42 -
43 -DISTUTILS_USE_PEP517=setuptools
44 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
45 -
46 -inherit distutils-r1
47 -
48 -DESCRIPTION="Stripe python bindings"
49 -HOMEPAGE="https://github.com/stripe/stripe-python"
50 -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
51 -
52 -LICENSE="MIT"
53 -SLOT="0"
54 -KEYWORDS="amd64 x86"
55 -
56 -RDEPEND=">=dev-python/requests-2.20[${PYTHON_USEDEP}]"
57 -BDEPEND="
58 - test? (
59 - >=dev-util/stripe-mock-0.119.0
60 - dev-python/pytest-mock[${PYTHON_USEDEP}]
61 - net-misc/curl
62 - )
63 -"
64 -
65 -distutils_enable_tests pytest
66 -
67 -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
68 -
69 -src_test() {
70 - local stripe_mock_port=12111
71 - local stripe_mock_max_port=12121
72 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
73 - # Try to start stripe-mock until we find a free port
74 - while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do
75 - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
76 - stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" &
77 - local stripe_mock_pid=$!
78 - sleep 2
79 - # Did stripe-mock start?
80 - curl --fail -u "sk_test_123:" \
81 - http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null
82 - eend $? "Port ${stripe_mock_port} unavailable"
83 - if [[ $? -eq 0 ]]; then
84 - einfo "stripe-mock running on port ${stripe_mock_port}"
85 - break
86 - fi
87 - (( stripe_mock_port++ ))
88 - done
89 - if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then
90 - eerror "Unable to start stripe-mock for tests"
91 - die "Please see the logfile located at: ${stripe_mock_logfile}"
92 - fi
93 -
94 - local -x STRIPE_MOCK_PORT=${stripe_mock_port}
95 - distutils-r1_src_test
96 -
97 - # Tear down stripe-mock
98 - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
99 -}
100
101 diff --git a/dev-python/stripe/stripe-2.70.0.ebuild b/dev-python/stripe/stripe-2.70.0.ebuild
102 deleted file mode 100644
103 index b88af4c76c63..000000000000
104 --- a/dev-python/stripe/stripe-2.70.0.ebuild
105 +++ /dev/null
106 @@ -1,68 +0,0 @@
107 -# Copyright 1999-2022 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=8
111 -
112 -DISTUTILS_USE_PEP517=setuptools
113 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
114 -
115 -inherit distutils-r1
116 -
117 -DESCRIPTION="Stripe python bindings"
118 -HOMEPAGE="https://github.com/stripe/stripe-python"
119 -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
120 -
121 -LICENSE="MIT"
122 -SLOT="0"
123 -KEYWORDS="~amd64 ~x86"
124 -
125 -RDEPEND="
126 - >=dev-python/requests-2.20[${PYTHON_USEDEP}]
127 -"
128 -BDEPEND="
129 - test? (
130 - >=dev-util/stripe-mock-0.122.0
131 - dev-python/pytest-mock[${PYTHON_USEDEP}]
132 - net-misc/curl
133 - )
134 -"
135 -
136 -distutils_enable_tests pytest
137 -
138 -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
139 -
140 -python_test() {
141 - epytest tests
142 -}
143 -
144 -src_test() {
145 - local stripe_mock_port=12111
146 - local stripe_mock_max_port=12121
147 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
148 - # Try to start stripe-mock until we find a free port
149 - while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do
150 - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
151 - stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" &
152 - local stripe_mock_pid=$!
153 - sleep 2
154 - # Did stripe-mock start?
155 - curl --fail -u "sk_test_123:" \
156 - http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null
157 - eend $? "Port ${stripe_mock_port} unavailable"
158 - if [[ $? -eq 0 ]]; then
159 - einfo "stripe-mock running on port ${stripe_mock_port}"
160 - break
161 - fi
162 - (( stripe_mock_port++ ))
163 - done
164 - if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then
165 - eerror "Unable to start stripe-mock for tests"
166 - die "Please see the logfile located at: ${stripe_mock_logfile}"
167 - fi
168 -
169 - local -x STRIPE_MOCK_PORT=${stripe_mock_port}
170 - distutils-r1_src_test
171 -
172 - # Tear down stripe-mock
173 - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
174 -}
175
176 diff --git a/dev-python/stripe/stripe-2.71.0.ebuild b/dev-python/stripe/stripe-2.71.0.ebuild
177 deleted file mode 100644
178 index b88af4c76c63..000000000000
179 --- a/dev-python/stripe/stripe-2.71.0.ebuild
180 +++ /dev/null
181 @@ -1,68 +0,0 @@
182 -# Copyright 1999-2022 Gentoo Authors
183 -# Distributed under the terms of the GNU General Public License v2
184 -
185 -EAPI=8
186 -
187 -DISTUTILS_USE_PEP517=setuptools
188 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
189 -
190 -inherit distutils-r1
191 -
192 -DESCRIPTION="Stripe python bindings"
193 -HOMEPAGE="https://github.com/stripe/stripe-python"
194 -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
195 -
196 -LICENSE="MIT"
197 -SLOT="0"
198 -KEYWORDS="~amd64 ~x86"
199 -
200 -RDEPEND="
201 - >=dev-python/requests-2.20[${PYTHON_USEDEP}]
202 -"
203 -BDEPEND="
204 - test? (
205 - >=dev-util/stripe-mock-0.122.0
206 - dev-python/pytest-mock[${PYTHON_USEDEP}]
207 - net-misc/curl
208 - )
209 -"
210 -
211 -distutils_enable_tests pytest
212 -
213 -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
214 -
215 -python_test() {
216 - epytest tests
217 -}
218 -
219 -src_test() {
220 - local stripe_mock_port=12111
221 - local stripe_mock_max_port=12121
222 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
223 - # Try to start stripe-mock until we find a free port
224 - while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do
225 - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
226 - stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" &
227 - local stripe_mock_pid=$!
228 - sleep 2
229 - # Did stripe-mock start?
230 - curl --fail -u "sk_test_123:" \
231 - http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null
232 - eend $? "Port ${stripe_mock_port} unavailable"
233 - if [[ $? -eq 0 ]]; then
234 - einfo "stripe-mock running on port ${stripe_mock_port}"
235 - break
236 - fi
237 - (( stripe_mock_port++ ))
238 - done
239 - if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then
240 - eerror "Unable to start stripe-mock for tests"
241 - die "Please see the logfile located at: ${stripe_mock_logfile}"
242 - fi
243 -
244 - local -x STRIPE_MOCK_PORT=${stripe_mock_port}
245 - distutils-r1_src_test
246 -
247 - # Tear down stripe-mock
248 - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
249 -}
250
251 diff --git a/dev-python/stripe/stripe-2.72.0.ebuild b/dev-python/stripe/stripe-2.72.0.ebuild
252 deleted file mode 100644
253 index b88af4c76c63..000000000000
254 --- a/dev-python/stripe/stripe-2.72.0.ebuild
255 +++ /dev/null
256 @@ -1,68 +0,0 @@
257 -# Copyright 1999-2022 Gentoo Authors
258 -# Distributed under the terms of the GNU General Public License v2
259 -
260 -EAPI=8
261 -
262 -DISTUTILS_USE_PEP517=setuptools
263 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
264 -
265 -inherit distutils-r1
266 -
267 -DESCRIPTION="Stripe python bindings"
268 -HOMEPAGE="https://github.com/stripe/stripe-python"
269 -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
270 -
271 -LICENSE="MIT"
272 -SLOT="0"
273 -KEYWORDS="~amd64 ~x86"
274 -
275 -RDEPEND="
276 - >=dev-python/requests-2.20[${PYTHON_USEDEP}]
277 -"
278 -BDEPEND="
279 - test? (
280 - >=dev-util/stripe-mock-0.122.0
281 - dev-python/pytest-mock[${PYTHON_USEDEP}]
282 - net-misc/curl
283 - )
284 -"
285 -
286 -distutils_enable_tests pytest
287 -
288 -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
289 -
290 -python_test() {
291 - epytest tests
292 -}
293 -
294 -src_test() {
295 - local stripe_mock_port=12111
296 - local stripe_mock_max_port=12121
297 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
298 - # Try to start stripe-mock until we find a free port
299 - while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do
300 - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
301 - stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" &
302 - local stripe_mock_pid=$!
303 - sleep 2
304 - # Did stripe-mock start?
305 - curl --fail -u "sk_test_123:" \
306 - http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null
307 - eend $? "Port ${stripe_mock_port} unavailable"
308 - if [[ $? -eq 0 ]]; then
309 - einfo "stripe-mock running on port ${stripe_mock_port}"
310 - break
311 - fi
312 - (( stripe_mock_port++ ))
313 - done
314 - if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then
315 - eerror "Unable to start stripe-mock for tests"
316 - die "Please see the logfile located at: ${stripe_mock_logfile}"
317 - fi
318 -
319 - local -x STRIPE_MOCK_PORT=${stripe_mock_port}
320 - distutils-r1_src_test
321 -
322 - # Tear down stripe-mock
323 - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
324 -}
325
326 diff --git a/dev-python/stripe/stripe-2.73.0.ebuild b/dev-python/stripe/stripe-2.73.0.ebuild
327 deleted file mode 100644
328 index 4334fec8fe41..000000000000
329 --- a/dev-python/stripe/stripe-2.73.0.ebuild
330 +++ /dev/null
331 @@ -1,68 +0,0 @@
332 -# Copyright 1999-2022 Gentoo Authors
333 -# Distributed under the terms of the GNU General Public License v2
334 -
335 -EAPI=8
336 -
337 -DISTUTILS_USE_PEP517=setuptools
338 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
339 -
340 -inherit distutils-r1
341 -
342 -DESCRIPTION="Stripe python bindings"
343 -HOMEPAGE="https://github.com/stripe/stripe-python"
344 -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
345 -
346 -LICENSE="MIT"
347 -SLOT="0"
348 -KEYWORDS="~amd64 ~x86"
349 -
350 -RDEPEND="
351 - >=dev-python/requests-2.20[${PYTHON_USEDEP}]
352 -"
353 -BDEPEND="
354 - test? (
355 - >=dev-util/stripe-mock-0.123.0
356 - dev-python/pytest-mock[${PYTHON_USEDEP}]
357 - net-misc/curl
358 - )
359 -"
360 -
361 -distutils_enable_tests pytest
362 -
363 -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
364 -
365 -python_test() {
366 - epytest tests
367 -}
368 -
369 -src_test() {
370 - local stripe_mock_port=12111
371 - local stripe_mock_max_port=12121
372 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
373 - # Try to start stripe-mock until we find a free port
374 - while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do
375 - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
376 - stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" &
377 - local stripe_mock_pid=$!
378 - sleep 2
379 - # Did stripe-mock start?
380 - curl --fail -u "sk_test_123:" \
381 - http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null
382 - eend $? "Port ${stripe_mock_port} unavailable"
383 - if [[ $? -eq 0 ]]; then
384 - einfo "stripe-mock running on port ${stripe_mock_port}"
385 - break
386 - fi
387 - (( stripe_mock_port++ ))
388 - done
389 - if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then
390 - eerror "Unable to start stripe-mock for tests"
391 - die "Please see the logfile located at: ${stripe_mock_logfile}"
392 - fi
393 -
394 - local -x STRIPE_MOCK_PORT=${stripe_mock_port}
395 - distutils-r1_src_test
396 -
397 - # Tear down stripe-mock
398 - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
399 -}