1 |
commit: 990d37c3f044f1cd19787905e2599a121b560379 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 15:06:15 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 15:09:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990d37c3 |
7 |
|
8 |
dev-python/autobahn: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/autobahn/Manifest | 6 -- |
13 |
dev-python/autobahn/autobahn-20.12.2.ebuild | 104 --------------------------- |
14 |
dev-python/autobahn/autobahn-20.12.3.ebuild | 105 --------------------------- |
15 |
dev-python/autobahn/autobahn-20.7.1.ebuild | 104 --------------------------- |
16 |
dev-python/autobahn/autobahn-21.1.1.ebuild | 106 --------------------------- |
17 |
dev-python/autobahn/autobahn-21.2.1.ebuild | 103 -------------------------- |
18 |
dev-python/autobahn/autobahn-21.2.2.ebuild | 108 ---------------------------- |
19 |
7 files changed, 636 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/autobahn/Manifest b/dev-python/autobahn/Manifest |
22 |
index dfd70300a6e..1374556c780 100644 |
23 |
--- a/dev-python/autobahn/Manifest |
24 |
+++ b/dev-python/autobahn/Manifest |
25 |
@@ -1,7 +1 @@ |
26 |
-DIST autobahn-20.12.2.tar.gz 1269167 BLAKE2B f6ea51682c13690002796f2a45bd11fc2f8497eeee25a1786e942111f43f9dc1f7f806281e4dc37d1ed0aa302fc5c5e47a55d876e010580d7a08eb5ac7534ed0 SHA512 aa6d5e77ba6129931a07cad13f839d5c76267b8126a05ade4ed1c7183ce019faf6656105a853515b543e5ac34ab20d02821b29aa68eb51c385880ad3919d1dcc |
27 |
-DIST autobahn-20.12.3.tar.gz 1268873 BLAKE2B 44dcaf9d19af89382dfdef9f40a0177486298d451697b973c7a65b44c71c764295afd01ac6333b7a8c5be0348713f38c36884564e148b2941bb42372f07d0e89 SHA512 ad77e476e2eab0039c0a2c98d5851d6237fa7f6a5dfd6b79bd88668dc498bf1b47bb1bcc26ff16e4087cc82aefb0082c8a74afc68b01be48c6140f3aa4ded5b3 |
28 |
-DIST autobahn-20.7.1.tar.gz 1260579 BLAKE2B 925d148836348c068d179d4871267bf79c8c42d27cacc6be09cca11396dbd213a5b86344142df886d4ff69d1214a86b49900ca3552bcdb640377cb0d6af7d0f0 SHA512 e2c241194da90ada86a2804683cb063320f75a69b76ddc016349c11614e7f298619c2eeba4fcccb8f8d65d84375681fb339d9f92f94f45f1015f4f12fa0c39b0 |
29 |
-DIST autobahn-21.1.1.tar.gz 1269122 BLAKE2B 6eb8eb22d0f09a4e8d409220ee2dff60a42a4e81acee789e8f9d98649ada24174295b98936f5e0a0a211fddd6d124975aef152679fcfde7b3dca7f18dcba5b62 SHA512 8e56e8a9213e356ea4288c6ed6ba4d6e8a26f5e1f670cfc067d1e11ef4d989b4e3d33a5cac49a635e18f9d45da1d42cb1300de96afdf77898441330e3f489194 |
30 |
-DIST autobahn-21.2.1.tar.gz 343966 BLAKE2B 8ee40610599aad6b0e6832beb867ff7515192e9a896d4f1e1b2c731fb81c899bf530f24d28e52faa91779affb1ed93b9b79b606b1ac7d3ed26a272dfcf6a0afc SHA512 21760aeac80c1e958a338da31d405af2f37c803944032270329dde4b59e6a9f914e9a7e4ae0ae6ae5b699ddc61f0c2f6b89cb0d6d4fdc3b1b58f204d4e94a980 |
31 |
-DIST autobahn-21.2.2.tar.gz 350799 BLAKE2B 06c5f7517083853bcf2e4c982151caadae2c5c0c547f543f310497addda14ff6262adaf876dcd5ce25ab48fd8b9b9c816ff74f518f3aedc65627ee3390db514b SHA512 6dbad05437c92622709c140fd949706c8fbff62477cf9fa5a8bbcb8c5410661b660d548902ebec55b5a8d744cce12c9a229bceeb3d5e7e5dc4e50cb09f7e7ab7 |
32 |
DIST autobahn-21.3.1.tar.gz 351296 BLAKE2B d018c8820a1accc779decdb8d392d3ff6225f80674b468145a8f29b275d6f0b1021a226dc8bc72915a792591e6d4ae8d6a33a96cf705241990ac401c8342e2c5 SHA512 dd6bf6eba6f2880860c6fa42e3925bb15d36bfb9d2354ddeb0165972848e81a308723b7f9dcd6ec3426b6286f71cb2da453590810e5d891523d92acf9fd64c52 |
33 |
|
34 |
diff --git a/dev-python/autobahn/autobahn-20.12.2.ebuild b/dev-python/autobahn/autobahn-20.12.2.ebuild |
35 |
deleted file mode 100644 |
36 |
index edab71d8374..00000000000 |
37 |
--- a/dev-python/autobahn/autobahn-20.12.2.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,104 +0,0 @@ |
40 |
-# Copyright 1999-2020 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=7 |
44 |
- |
45 |
-PYTHON_COMPAT=( python3_{7,8} ) |
46 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
47 |
- |
48 |
-inherit distutils-r1 |
49 |
- |
50 |
-MY_P=${PN}-$(ver_rs 3 -) |
51 |
- |
52 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
53 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
54 |
- https://crossbar.io/autobahn/ |
55 |
- https://github.com/crossbario/autobahn-python" |
56 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
57 |
-S=${WORKDIR}/${MY_P} |
58 |
- |
59 |
-SLOT="0" |
60 |
-LICENSE="MIT" |
61 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
62 |
-IUSE="crypt scram test xbr" |
63 |
-RESTRICT="!test? ( test )" |
64 |
- |
65 |
-RDEPEND=" |
66 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
67 |
- >=dev-python/cbor2-5.1.0[${PYTHON_USEDEP}] |
68 |
- >=dev-python/cryptography-2.9.2[${PYTHON_USEDEP}] |
69 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
70 |
- >=dev-python/lz4-0.7.0[${PYTHON_USEDEP}] |
71 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
72 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
73 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
74 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
75 |
- >=dev-python/txaio-20.4.1[${PYTHON_USEDEP}] |
76 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
77 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
78 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
79 |
- crypt? ( |
80 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
81 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
82 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
83 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
84 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
85 |
- ) |
86 |
- scram? ( |
87 |
- dev-python/cffi[${PYTHON_USEDEP}] |
88 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
89 |
- dev-python/passlib[${PYTHON_USEDEP}] |
90 |
- ) |
91 |
- " |
92 |
-BDEPEND=" |
93 |
- test? ( |
94 |
- dev-python/mock[${PYTHON_USEDEP}] |
95 |
- dev-python/pytest[${PYTHON_USEDEP}] |
96 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
97 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
98 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
99 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
100 |
- )" |
101 |
- |
102 |
-python_prepare_all() { |
103 |
- if use xbr ; then |
104 |
- eerror "***************" |
105 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
106 |
- eerror "So this functionality will not yet work" |
107 |
- eerror "Please file a bug if this feature is needed" |
108 |
- eerror "***************" |
109 |
- else |
110 |
- # remove xbr components |
111 |
- export AUTOBAHN_STRIP_XBR="True" |
112 |
- fi |
113 |
- distutils-r1_python_prepare_all |
114 |
-} |
115 |
- |
116 |
-python_test() { |
117 |
- echo "Testing all, cryptosign using twisted" |
118 |
- export USE_TWISTED=true |
119 |
- cd "${BUILD_DIR}"/lib || die |
120 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
121 |
- unset USE_TWISTED |
122 |
- echo "RE-testing cryptosign and component_aio using asyncio" |
123 |
- export USE_ASYNCIO=true |
124 |
- py.test -v autobahn/wamp/test/test_cryptosign.py || die |
125 |
- py.test -v autobahn/wamp/test/test_component_aio.py || die |
126 |
- unset USE_ASYNCIO |
127 |
- rm -r .pytest_cache || die |
128 |
-} |
129 |
- |
130 |
-python_install_all() { |
131 |
- distutils-r1_python_install_all |
132 |
- |
133 |
- # delete the dropin.cache so we don't have collisions if it exists |
134 |
- rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache > /dev/null |
135 |
-} |
136 |
- |
137 |
-pkg_postinst() { |
138 |
- python_foreach_impl twisted-regen-cache || die |
139 |
-} |
140 |
- |
141 |
-pkg_postrm() { |
142 |
- python_foreach_impl twisted-regen-cache || die |
143 |
-} |
144 |
|
145 |
diff --git a/dev-python/autobahn/autobahn-20.12.3.ebuild b/dev-python/autobahn/autobahn-20.12.3.ebuild |
146 |
deleted file mode 100644 |
147 |
index df805389447..00000000000 |
148 |
--- a/dev-python/autobahn/autobahn-20.12.3.ebuild |
149 |
+++ /dev/null |
150 |
@@ -1,105 +0,0 @@ |
151 |
-# Copyright 1999-2021 Gentoo Authors |
152 |
-# Distributed under the terms of the GNU General Public License v2 |
153 |
- |
154 |
-EAPI=7 |
155 |
- |
156 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
157 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
158 |
- |
159 |
-inherit distutils-r1 |
160 |
- |
161 |
-MY_P=${PN}-$(ver_rs 3 -) |
162 |
- |
163 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
164 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
165 |
- https://crossbar.io/autobahn/ |
166 |
- https://github.com/crossbario/autobahn-python" |
167 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
168 |
-S=${WORKDIR}/${MY_P} |
169 |
- |
170 |
-SLOT="0" |
171 |
-LICENSE="MIT" |
172 |
-KEYWORDS="amd64 arm arm64 x86" |
173 |
-IUSE="crypt scram test xbr" |
174 |
-RESTRICT="!test? ( test )" |
175 |
- |
176 |
-RDEPEND=" |
177 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
178 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
179 |
- >=dev-python/cbor2-5.1.0[${PYTHON_USEDEP}] |
180 |
- >=dev-python/cryptography-2.9.2[${PYTHON_USEDEP}] |
181 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
182 |
- >=dev-python/lz4-0.7.0[${PYTHON_USEDEP}] |
183 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
184 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
185 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
186 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
187 |
- >=dev-python/txaio-20.4.1[${PYTHON_USEDEP}] |
188 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
189 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
190 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
191 |
- crypt? ( |
192 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
193 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
194 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
195 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
196 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
197 |
- ) |
198 |
- scram? ( |
199 |
- dev-python/cffi[${PYTHON_USEDEP}] |
200 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
201 |
- dev-python/passlib[${PYTHON_USEDEP}] |
202 |
- ) |
203 |
- " |
204 |
-BDEPEND=" |
205 |
- test? ( |
206 |
- dev-python/mock[${PYTHON_USEDEP}] |
207 |
- dev-python/pytest[${PYTHON_USEDEP}] |
208 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
209 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
210 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
211 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
212 |
- )" |
213 |
- |
214 |
-python_prepare_all() { |
215 |
- if use xbr ; then |
216 |
- eerror "***************" |
217 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
218 |
- eerror "So this functionality will not yet work" |
219 |
- eerror "Please file a bug if this feature is needed" |
220 |
- eerror "***************" |
221 |
- else |
222 |
- # remove xbr components |
223 |
- export AUTOBAHN_STRIP_XBR="True" |
224 |
- fi |
225 |
- distutils-r1_python_prepare_all |
226 |
-} |
227 |
- |
228 |
-python_test() { |
229 |
- echo "Testing all, cryptosign using twisted" |
230 |
- export USE_TWISTED=true |
231 |
- cd "${BUILD_DIR}"/lib || die |
232 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
233 |
- unset USE_TWISTED |
234 |
- echo "RE-testing cryptosign and component_aio using asyncio" |
235 |
- export USE_ASYNCIO=true |
236 |
- py.test -v autobahn/wamp/test/test_wamp_cryptosign.py || die |
237 |
- py.test -v autobahn/wamp/test/test_wamp_component_aio.py || die |
238 |
- unset USE_ASYNCIO |
239 |
- rm -r .pytest_cache || die |
240 |
-} |
241 |
- |
242 |
-python_install_all() { |
243 |
- distutils-r1_python_install_all |
244 |
- |
245 |
- # delete the dropin.cache so we don't have collisions if it exists |
246 |
- rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache > /dev/null |
247 |
-} |
248 |
- |
249 |
-pkg_postinst() { |
250 |
- python_foreach_impl twisted-regen-cache || die |
251 |
-} |
252 |
- |
253 |
-pkg_postrm() { |
254 |
- python_foreach_impl twisted-regen-cache || die |
255 |
-} |
256 |
|
257 |
diff --git a/dev-python/autobahn/autobahn-20.7.1.ebuild b/dev-python/autobahn/autobahn-20.7.1.ebuild |
258 |
deleted file mode 100644 |
259 |
index 7341c0daf07..00000000000 |
260 |
--- a/dev-python/autobahn/autobahn-20.7.1.ebuild |
261 |
+++ /dev/null |
262 |
@@ -1,104 +0,0 @@ |
263 |
-# Copyright 1999-2020 Gentoo Authors |
264 |
-# Distributed under the terms of the GNU General Public License v2 |
265 |
- |
266 |
-EAPI=7 |
267 |
- |
268 |
-PYTHON_COMPAT=( python3_{7,8} ) |
269 |
-DISTUTILS_USE_SETUPTOOLS=bdepend |
270 |
- |
271 |
-inherit distutils-r1 |
272 |
- |
273 |
-MY_P=${PN}-$(ver_rs 3 -) |
274 |
- |
275 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
276 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
277 |
- https://crossbar.io/autobahn/ |
278 |
- https://github.com/crossbario/autobahn-python" |
279 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
280 |
- |
281 |
-SLOT="0" |
282 |
-LICENSE="MIT" |
283 |
-KEYWORDS="amd64 arm arm64 x86" |
284 |
-IUSE="crypt scram test xbr" |
285 |
-RESTRICT="!test? ( test )" |
286 |
- |
287 |
-RDEPEND=" |
288 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
289 |
- >=dev-python/cbor2-5.1.0[${PYTHON_USEDEP}] |
290 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
291 |
- >=dev-python/lz4-0.7.0[${PYTHON_USEDEP}] |
292 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
293 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
294 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
295 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
296 |
- >=dev-python/txaio-20.3.1[${PYTHON_USEDEP}] |
297 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
298 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
299 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
300 |
- crypt? ( |
301 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
302 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
303 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
304 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
305 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
306 |
- ) |
307 |
- scram? ( |
308 |
- dev-python/cffi[${PYTHON_USEDEP}] |
309 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
310 |
- dev-python/passlib[${PYTHON_USEDEP}] |
311 |
- ) |
312 |
- " |
313 |
-DEPEND="${RDEPEND} |
314 |
- test? ( |
315 |
- dev-python/mock[${PYTHON_USEDEP}] |
316 |
- dev-python/pytest[${PYTHON_USEDEP}] |
317 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
318 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
319 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
320 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
321 |
- )" |
322 |
- |
323 |
-S="${WORKDIR}"/${MY_P} |
324 |
- |
325 |
-python_prepare_all() { |
326 |
- if use xbr ; then |
327 |
- eerror "***************" |
328 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
329 |
- eerror "So this functionality will not yet work" |
330 |
- eerror "Please file a bug if this feature is needed" |
331 |
- eerror "***************" |
332 |
- else |
333 |
- # remove xbr components |
334 |
- export AUTOBAHN_STRIP_XBR="True" |
335 |
- fi |
336 |
- distutils-r1_python_prepare_all |
337 |
-} |
338 |
- |
339 |
-python_test() { |
340 |
- echo "Testing all, cryptosign using twisted" |
341 |
- export USE_TWISTED=true |
342 |
- cd "${BUILD_DIR}"/lib || die |
343 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
344 |
- unset USE_TWISTED |
345 |
- echo "RE-testing cryptosign and component_aio using asyncio" |
346 |
- export USE_ASYNCIO=true |
347 |
- py.test -v autobahn/wamp/test/test_cryptosign.py || die |
348 |
- py.test -v autobahn/wamp/test/test_component_aio.py || die |
349 |
- unset USE_ASYNCIO |
350 |
- rm -r .pytest_cache || die |
351 |
-} |
352 |
- |
353 |
-python_install_all() { |
354 |
- distutils-r1_python_install_all |
355 |
- |
356 |
- # delete the dropin.cache so we don't have collisions if it exists |
357 |
- rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache > /dev/null |
358 |
-} |
359 |
- |
360 |
-pkg_postinst() { |
361 |
- python_foreach_impl twisted-regen-cache || die |
362 |
-} |
363 |
- |
364 |
-pkg_postrm() { |
365 |
- python_foreach_impl twisted-regen-cache || die |
366 |
-} |
367 |
|
368 |
diff --git a/dev-python/autobahn/autobahn-21.1.1.ebuild b/dev-python/autobahn/autobahn-21.1.1.ebuild |
369 |
deleted file mode 100644 |
370 |
index 41c2ad9c99f..00000000000 |
371 |
--- a/dev-python/autobahn/autobahn-21.1.1.ebuild |
372 |
+++ /dev/null |
373 |
@@ -1,106 +0,0 @@ |
374 |
-# Copyright 1999-2021 Gentoo Authors |
375 |
-# Distributed under the terms of the GNU General Public License v2 |
376 |
- |
377 |
-EAPI=7 |
378 |
- |
379 |
-PYTHON_COMPAT=( python3_{7..9} ) |
380 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
381 |
- |
382 |
-inherit distutils-r1 |
383 |
- |
384 |
-MY_P=${PN}-$(ver_rs 3 -) |
385 |
- |
386 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
387 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
388 |
- https://crossbar.io/autobahn/ |
389 |
- https://github.com/crossbario/autobahn-python" |
390 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
391 |
-S=${WORKDIR}/${MY_P} |
392 |
- |
393 |
-SLOT="0" |
394 |
-LICENSE="MIT" |
395 |
-KEYWORDS="amd64 ~arm ~arm64 ~x86" |
396 |
-IUSE="crypt scram test xbr" |
397 |
-RESTRICT="!test? ( test )" |
398 |
- |
399 |
-RDEPEND=" |
400 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
401 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
402 |
- >=dev-python/cbor2-5.1.0[${PYTHON_USEDEP}] |
403 |
- >=dev-python/cryptography-2.9.2[${PYTHON_USEDEP}] |
404 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
405 |
- >=dev-python/jinja-2.11.2[${PYTHON_USEDEP}] |
406 |
- >=dev-python/lz4-0.7.0[${PYTHON_USEDEP}] |
407 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
408 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
409 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
410 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
411 |
- >=dev-python/txaio-20.4.1[${PYTHON_USEDEP}] |
412 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
413 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
414 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
415 |
- crypt? ( |
416 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
417 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
418 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
419 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
420 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
421 |
- ) |
422 |
- scram? ( |
423 |
- dev-python/cffi[${PYTHON_USEDEP}] |
424 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
425 |
- dev-python/passlib[${PYTHON_USEDEP}] |
426 |
- ) |
427 |
- " |
428 |
-BDEPEND=" |
429 |
- test? ( |
430 |
- dev-python/mock[${PYTHON_USEDEP}] |
431 |
- dev-python/pytest[${PYTHON_USEDEP}] |
432 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
433 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
434 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
435 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
436 |
- )" |
437 |
- |
438 |
-python_prepare_all() { |
439 |
- if use xbr ; then |
440 |
- eerror "***************" |
441 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
442 |
- eerror "So this functionality will not yet work" |
443 |
- eerror "Please file a bug if this feature is needed" |
444 |
- eerror "***************" |
445 |
- else |
446 |
- # remove xbr components |
447 |
- export AUTOBAHN_STRIP_XBR="True" |
448 |
- fi |
449 |
- distutils-r1_python_prepare_all |
450 |
-} |
451 |
- |
452 |
-python_test() { |
453 |
- einfo "Testing all, cryptosign using twisted" |
454 |
- local -x USE_TWISTED=true |
455 |
- cd "${BUILD_DIR}"/lib || die |
456 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
457 |
- unset USE_TWISTED |
458 |
- einfo "RE-testing cryptosign and component_aio using asyncio" |
459 |
- local -x USE_ASYNCIO=true |
460 |
- pytest -vv autobahn/wamp/test/test_wamp_cryptosign.py || die |
461 |
- pytest -vv autobahn/wamp/test/test_wamp_component_aio.py || die |
462 |
- unset USE_ASYNCIO |
463 |
- rm -r .pytest_cache || die |
464 |
-} |
465 |
- |
466 |
-python_install_all() { |
467 |
- distutils-r1_python_install_all |
468 |
- |
469 |
- # delete the dropin.cache so we don't have collisions if it exists |
470 |
- rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache > /dev/null |
471 |
-} |
472 |
- |
473 |
-pkg_postinst() { |
474 |
- python_foreach_impl twisted-regen-cache || die |
475 |
-} |
476 |
- |
477 |
-pkg_postrm() { |
478 |
- python_foreach_impl twisted-regen-cache || die |
479 |
-} |
480 |
|
481 |
diff --git a/dev-python/autobahn/autobahn-21.2.1.ebuild b/dev-python/autobahn/autobahn-21.2.1.ebuild |
482 |
deleted file mode 100644 |
483 |
index 78281c5cf7a..00000000000 |
484 |
--- a/dev-python/autobahn/autobahn-21.2.1.ebuild |
485 |
+++ /dev/null |
486 |
@@ -1,103 +0,0 @@ |
487 |
-# Copyright 1999-2021 Gentoo Authors |
488 |
-# Distributed under the terms of the GNU General Public License v2 |
489 |
- |
490 |
-EAPI=7 |
491 |
- |
492 |
-PYTHON_COMPAT=( python3_{7..9} ) |
493 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
494 |
- |
495 |
-inherit distutils-r1 |
496 |
- |
497 |
-MY_P=${PN}-$(ver_rs 3 -) |
498 |
- |
499 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
500 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
501 |
- https://crossbar.io/autobahn/ |
502 |
- https://github.com/crossbario/autobahn-python" |
503 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
504 |
-S=${WORKDIR}/${MY_P} |
505 |
- |
506 |
-SLOT="0" |
507 |
-LICENSE="MIT" |
508 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
509 |
-IUSE="crypt scram test xbr" |
510 |
-RESTRICT="!test? ( test )" |
511 |
- |
512 |
-RDEPEND=" |
513 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
514 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
515 |
- >=dev-python/cbor2-5.1.0[${PYTHON_USEDEP}] |
516 |
- >=dev-python/cryptography-2.9.2[${PYTHON_USEDEP}] |
517 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
518 |
- >=dev-python/hyperlink-20.0.1[${PYTHON_USEDEP}] |
519 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
520 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
521 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
522 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
523 |
- >=dev-python/txaio-20.4.1[${PYTHON_USEDEP}] |
524 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
525 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
526 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
527 |
- crypt? ( |
528 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
529 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
530 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
531 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
532 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
533 |
- ) |
534 |
- scram? ( |
535 |
- dev-python/cffi[${PYTHON_USEDEP}] |
536 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
537 |
- dev-python/passlib[${PYTHON_USEDEP}] |
538 |
- ) |
539 |
- " |
540 |
-BDEPEND=" |
541 |
- test? ( |
542 |
- dev-python/mock[${PYTHON_USEDEP}] |
543 |
- dev-python/pytest[${PYTHON_USEDEP}] |
544 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
545 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
546 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
547 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
548 |
- )" |
549 |
- |
550 |
-python_prepare_all() { |
551 |
- if use xbr ; then |
552 |
- eerror "***************" |
553 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
554 |
- eerror "So this functionality will not yet work" |
555 |
- eerror "Please file a bug if this feature is needed" |
556 |
- eerror "***************" |
557 |
- else |
558 |
- # remove xbr components |
559 |
- export AUTOBAHN_STRIP_XBR="True" |
560 |
- fi |
561 |
- # remove twisted plugin cache regen in setup.py |
562 |
- # to fix tinderbox sandbox issue |
563 |
- sed -e 's/# regenerate Twisted plugin cache/# DO NOT regenerate Twisted plugin cache in Gentoo\nexit()/' \ |
564 |
- -i setup.py || die |
565 |
- |
566 |
- distutils-r1_python_prepare_all |
567 |
-} |
568 |
- |
569 |
-python_test() { |
570 |
- einfo "Testing all, cryptosign using twisted" |
571 |
- local -x USE_TWISTED=true |
572 |
- cd "${BUILD_DIR}"/lib || die |
573 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
574 |
- unset USE_TWISTED |
575 |
- einfo "RE-testing cryptosign and component_aio using asyncio" |
576 |
- local -x USE_ASYNCIO=true |
577 |
- pytest -vv autobahn/wamp/test/test_wamp_cryptosign.py || die |
578 |
- pytest -vv autobahn/wamp/test/test_wamp_component_aio.py || die |
579 |
- unset USE_ASYNCIO |
580 |
- rm -r .pytest_cache || die |
581 |
-} |
582 |
- |
583 |
-pkg_postinst() { |
584 |
- python_foreach_impl twisted-regen-cache || die |
585 |
-} |
586 |
- |
587 |
-pkg_postrm() { |
588 |
- python_foreach_impl twisted-regen-cache || die |
589 |
-} |
590 |
|
591 |
diff --git a/dev-python/autobahn/autobahn-21.2.2.ebuild b/dev-python/autobahn/autobahn-21.2.2.ebuild |
592 |
deleted file mode 100644 |
593 |
index 4c94153771d..00000000000 |
594 |
--- a/dev-python/autobahn/autobahn-21.2.2.ebuild |
595 |
+++ /dev/null |
596 |
@@ -1,108 +0,0 @@ |
597 |
-# Copyright 1999-2021 Gentoo Authors |
598 |
-# Distributed under the terms of the GNU General Public License v2 |
599 |
- |
600 |
-EAPI=7 |
601 |
- |
602 |
-PYTHON_COMPAT=( python3_{7..9} ) |
603 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
604 |
- |
605 |
-inherit distutils-r1 |
606 |
- |
607 |
-MY_P=${PN}-$(ver_rs 3 -) |
608 |
- |
609 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
610 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
611 |
- https://crossbar.io/autobahn/ |
612 |
- https://github.com/crossbario/autobahn-python" |
613 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
614 |
-S=${WORKDIR}/${MY_P} |
615 |
- |
616 |
-SLOT="0" |
617 |
-LICENSE="MIT" |
618 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
619 |
-IUSE="crypt scram test xbr" |
620 |
-RESTRICT="!test? ( test )" |
621 |
- |
622 |
-RDEPEND=" |
623 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
624 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
625 |
- >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] |
626 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
627 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
628 |
- >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] |
629 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
630 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
631 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
632 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
633 |
- >=dev-python/txaio-21.2.1[${PYTHON_USEDEP}] |
634 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
635 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
636 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
637 |
- crypt? ( |
638 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
639 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
640 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
641 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
642 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
643 |
- ) |
644 |
- scram? ( |
645 |
- dev-python/cffi[${PYTHON_USEDEP}] |
646 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
647 |
- dev-python/passlib[${PYTHON_USEDEP}] |
648 |
- ) |
649 |
- " |
650 |
-BDEPEND=" |
651 |
- test? ( |
652 |
- dev-python/mock[${PYTHON_USEDEP}] |
653 |
- dev-python/pytest[${PYTHON_USEDEP}] |
654 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
655 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
656 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
657 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
658 |
- )" |
659 |
- |
660 |
-python_prepare_all() { |
661 |
- if use xbr ; then |
662 |
- eerror "***************" |
663 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
664 |
- eerror "So this functionality will not yet work" |
665 |
- eerror "Please file a bug if this feature is needed" |
666 |
- eerror "***************" |
667 |
- else |
668 |
- # remove xbr components |
669 |
- export AUTOBAHN_STRIP_XBR="True" |
670 |
- fi |
671 |
- |
672 |
- # avoid useless rust dependency |
673 |
- sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die |
674 |
- |
675 |
- # remove twisted plugin cache regen in setup.py |
676 |
- # to fix tinderbox sandbox issue |
677 |
- sed -e 's/# regenerate Twisted plugin cache/# DO NOT regenerate Twisted plugin cache in Gentoo\nexit()/' \ |
678 |
- -i setup.py || die |
679 |
- |
680 |
- distutils-r1_python_prepare_all |
681 |
-} |
682 |
- |
683 |
-python_test() { |
684 |
- einfo "Testing all, cryptosign using twisted" |
685 |
- local -x USE_TWISTED=true |
686 |
- cd "${BUILD_DIR}"/lib || die |
687 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
688 |
- unset USE_TWISTED |
689 |
- einfo "RE-testing cryptosign and component_aio using asyncio" |
690 |
- local -x USE_ASYNCIO=true |
691 |
- pytest -vv autobahn/wamp/test/test_wamp_cryptosign.py || die |
692 |
- pytest -vv autobahn/wamp/test/test_wamp_component_aio.py || die |
693 |
- unset USE_ASYNCIO |
694 |
- rm -r .pytest_cache || die |
695 |
- rm -f "${BUILD_DIR}"/lib/twisted/plugins/dropin.cache || die |
696 |
-} |
697 |
- |
698 |
-pkg_postinst() { |
699 |
- python_foreach_impl twisted-regen-cache || die |
700 |
-} |
701 |
- |
702 |
-pkg_postrm() { |
703 |
- python_foreach_impl twisted-regen-cache || die |
704 |
-} |