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