1 |
commit: 887159e7046ebef24cb94212d5bad8829b967887 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 13 06:45:27 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 13 06:45:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=887159e7 |
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 | 2 -- |
13 |
dev-python/stripe/stripe-2.56.0.ebuild | 63 ---------------------------------- |
14 |
dev-python/stripe/stripe-2.57.0.ebuild | 63 ---------------------------------- |
15 |
3 files changed, 128 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest |
18 |
index e9b79d40f9e..782c3c6c220 100644 |
19 |
--- a/dev-python/stripe/Manifest |
20 |
+++ b/dev-python/stripe/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST stripe-2.56.0.tar.gz 216066 BLAKE2B 1473c0b5a0f53cea18120b6234ed7f310c3625592423f16e77ca3a87c8a79f61c19c0c5f09d071a2be84e4f0d8b5323cc9f1de2e24a74bd24e557c9eb48b2c38 SHA512 1f2f08b5425ad48df9afc78f574109604319ccfcdb2fba8ca574008de5dadb349eec84d0e6cf532c57218bc8624af9b256a29ef01facb950a3cfd1168d8c2660 |
23 |
-DIST stripe-2.57.0.tar.gz 216286 BLAKE2B 9f2c3b7d4ae3f100647a1cae32d09f258703890eb97637ab2a9d3fc1d2fc30eae7042e4245d8f62a5cb4a5226337a7b22813d992842326aaa57d7ecb3a1da200 SHA512 c63efabc8febe79a01167ad4c166d9498f8623a3b1d36c292a3554cbacfc6aada1bf5ec720723b5a9de6e5c4fb770b8f44d1c95289aff4394a70a0301df61e93 |
24 |
DIST stripe-2.58.0.tar.gz 216926 BLAKE2B 398b16ddab4050373ba5d7da3c8404b85b88d50749a5c3ce2e1704dbe04cdb99abc90b6c8837afbc3e086551e8dfa72baa3a5e68edf2ebb4e30aff157fb3ce8c SHA512 eee6154384fae69632e5e9ae7f972d97915b07da85c9f1af3849f5b9fea1e6f291c3d3e5b0e319c0d6dc0c035fec167f7711f650032016d3eb4709b333f3d5b7 |
25 |
DIST stripe-2.59.0.tar.gz 219952 BLAKE2B f59d7e7f7c03f620dd2f43b5678208d72de0f947bf748c9c41d6782a6b01450a0547ddd5972a731fd1b8187479e1b813f890993ae097ec8c32acd4691256a4c3 SHA512 f27ed8457d1097aac43aaddaf39b8d1d9df25e837160407edea354b2fa8faf122ed86a9d36583ff56885e22663b230ee63af04baab0edad2711f3c691c8de51c |
26 |
|
27 |
diff --git a/dev-python/stripe/stripe-2.56.0.ebuild b/dev-python/stripe/stripe-2.56.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index dd6df66c465..00000000000 |
30 |
--- a/dev-python/stripe/stripe-2.56.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,63 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="Stripe python bindings" |
42 |
-HOMEPAGE="https://github.com/stripe/stripe-python" |
43 |
-SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 x86" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- >=dev-python/requests-2.20[${PYTHON_USEDEP}] |
51 |
-" |
52 |
-DEPEND=" |
53 |
- test? ( |
54 |
- ${RDEPEND} |
55 |
- >=dev-util/stripe-mock-0.103.0 |
56 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
57 |
- net-misc/curl |
58 |
- ) |
59 |
-" |
60 |
- |
61 |
-distutils_enable_tests pytest |
62 |
- |
63 |
-DOCS=(LONG_DESCRIPTION.rst CHANGELOG.md README.md) |
64 |
- |
65 |
-src_test() { |
66 |
- local stripe_mock_port=12111 |
67 |
- local stripe_mock_max_port=12121 |
68 |
- local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" |
69 |
- # Try to start stripe-mock until we find a free port |
70 |
- while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do |
71 |
- ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" |
72 |
- stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" & |
73 |
- local stripe_mock_pid=$! |
74 |
- sleep 2 |
75 |
- # Did stripe-mock start? |
76 |
- curl --fail -u "sk_test_123:" \ |
77 |
- http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null |
78 |
- eend $? "Port ${stripe_mock_port} unavailable" |
79 |
- if [[ $? -eq 0 ]]; then |
80 |
- einfo "stripe-mock running on port ${stripe_mock_port}" |
81 |
- break |
82 |
- fi |
83 |
- (( stripe_mock_port++ )) |
84 |
- done |
85 |
- if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then |
86 |
- eerror "Unable to start stripe-mock for tests" |
87 |
- die "Please see the logfile located at: ${stripe_mock_logfile}" |
88 |
- fi |
89 |
- |
90 |
- local -x STRIPE_MOCK_PORT=${stripe_mock_port} |
91 |
- distutils-r1_src_test |
92 |
- |
93 |
- # Tear down stripe-mock |
94 |
- kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" |
95 |
-} |
96 |
|
97 |
diff --git a/dev-python/stripe/stripe-2.57.0.ebuild b/dev-python/stripe/stripe-2.57.0.ebuild |
98 |
deleted file mode 100644 |
99 |
index 76cdcc15800..00000000000 |
100 |
--- a/dev-python/stripe/stripe-2.57.0.ebuild |
101 |
+++ /dev/null |
102 |
@@ -1,63 +0,0 @@ |
103 |
-# Copyright 1999-2021 Gentoo Authors |
104 |
-# Distributed under the terms of the GNU General Public License v2 |
105 |
- |
106 |
-EAPI=7 |
107 |
- |
108 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
109 |
-inherit distutils-r1 |
110 |
- |
111 |
-DESCRIPTION="Stripe python bindings" |
112 |
-HOMEPAGE="https://github.com/stripe/stripe-python" |
113 |
-SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" |
114 |
- |
115 |
-LICENSE="MIT" |
116 |
-SLOT="0" |
117 |
-KEYWORDS="~amd64 ~x86" |
118 |
- |
119 |
-RDEPEND=" |
120 |
- >=dev-python/requests-2.20[${PYTHON_USEDEP}] |
121 |
-" |
122 |
-DEPEND=" |
123 |
- test? ( |
124 |
- ${RDEPEND} |
125 |
- >=dev-util/stripe-mock-0.105.0 |
126 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
127 |
- net-misc/curl |
128 |
- ) |
129 |
-" |
130 |
- |
131 |
-distutils_enable_tests pytest |
132 |
- |
133 |
-DOCS=(LONG_DESCRIPTION.rst CHANGELOG.md README.md) |
134 |
- |
135 |
-src_test() { |
136 |
- local stripe_mock_port=12111 |
137 |
- local stripe_mock_max_port=12121 |
138 |
- local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" |
139 |
- # Try to start stripe-mock until we find a free port |
140 |
- while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do |
141 |
- ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" |
142 |
- stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" & |
143 |
- local stripe_mock_pid=$! |
144 |
- sleep 2 |
145 |
- # Did stripe-mock start? |
146 |
- curl --fail -u "sk_test_123:" \ |
147 |
- http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null |
148 |
- eend $? "Port ${stripe_mock_port} unavailable" |
149 |
- if [[ $? -eq 0 ]]; then |
150 |
- einfo "stripe-mock running on port ${stripe_mock_port}" |
151 |
- break |
152 |
- fi |
153 |
- (( stripe_mock_port++ )) |
154 |
- done |
155 |
- if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then |
156 |
- eerror "Unable to start stripe-mock for tests" |
157 |
- die "Please see the logfile located at: ${stripe_mock_logfile}" |
158 |
- fi |
159 |
- |
160 |
- local -x STRIPE_MOCK_PORT=${stripe_mock_port} |
161 |
- distutils-r1_src_test |
162 |
- |
163 |
- # Tear down stripe-mock |
164 |
- kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" |
165 |
-} |