1 |
commit: 915ca32bb19dca549939a3e22415f37aea0aa9e9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 07:03:07 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 07:07:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=915ca32b |
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 | 2 - |
13 |
dev-python/autobahn/autobahn-22.2.2.ebuild | 115 ----------------------------- |
14 |
dev-python/autobahn/autobahn-22.3.1.ebuild | 115 ----------------------------- |
15 |
3 files changed, 232 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/autobahn/Manifest b/dev-python/autobahn/Manifest |
18 |
index ef18ee5b39e8..23a153a25e38 100644 |
19 |
--- a/dev-python/autobahn/Manifest |
20 |
+++ b/dev-python/autobahn/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST autobahn-22.2.2.tar.gz 375443 BLAKE2B a321cfeaa35e7da5aa58ade0da3bc5891baab1d4a915782e9d25038679261c19744d65baa4a981cb01025902dc8f4ffb93d8c0ad59b8db32119c0fb0eeb49d53 SHA512 95b0ee867a866b1cf67a55ffa9386addd3640b12a3e5a2673b4d496aa6d41ec49408e1f528bc21d1e390d5e3343dda0b1625d4ac0d9e9101db151c7c79623263 |
23 |
-DIST autobahn-22.3.1.tar.gz 375616 BLAKE2B 2644ff3766b268df54cf955d657870530723342dc9b040b05806766e25dbf89b78b448d8b6a949cb8a8d1486a16f6901348dc127903c34502f8663997b539ac8 SHA512 5fbeec8808d90431e37ede1b3c147ffd8e92af99af3bc4f6fec3519cdbfe5962c3d770e9102b7f54bfbdd03f453b488c8ba8eb104c6a34458ca429fd1233e037 |
24 |
DIST autobahn-22.3.2.tar.gz 376020 BLAKE2B 5d7b776c24541b08363942ed1868d5e7a2ccb4f99edc1ad722d3d68417852f324e79afa5ec8cc0251499ba27c078087ba40be744d657b562f5f1c431492705b6 SHA512 a33619bb7624f56bf571a4c61d11290316554c5c5a23724c6d5624f1e8e673dfc6a8e12ea3b17f809306a14f45e982b3425a23efb123003b575b248718c9a299 |
25 |
|
26 |
diff --git a/dev-python/autobahn/autobahn-22.2.2.ebuild b/dev-python/autobahn/autobahn-22.2.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index d59acbe9809e..000000000000 |
29 |
--- a/dev-python/autobahn/autobahn-22.2.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,115 +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} ) |
38 |
-DISTUTILS_USE_PEP517=setuptools |
39 |
- |
40 |
-inherit distutils-r1 optfeature |
41 |
- |
42 |
-MY_P=${PN}-$(ver_rs 3 -) |
43 |
- |
44 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
45 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
46 |
- https://crossbar.io/autobahn/ |
47 |
- https://github.com/crossbario/autobahn-python" |
48 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
49 |
-S="${WORKDIR}/${MY_P}" |
50 |
- |
51 |
-SLOT="0" |
52 |
-LICENSE="MIT" |
53 |
-KEYWORDS="amd64 arm arm64 ~riscv x86" |
54 |
-IUSE="test xbr" |
55 |
-RESTRICT="!test? ( test )" |
56 |
- |
57 |
-# The order of deps is based on their appearance in setup.py |
58 |
-# All extra deps should be included in test and in optfeature |
59 |
-RDEPEND=" |
60 |
- >=dev-python/zope-interface-5.2.0[${PYTHON_USEDEP}] |
61 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
62 |
- >=dev-python/attrs-20.3.0[${PYTHON_USEDEP}] |
63 |
- >=dev-python/txaio-21.2.1[${PYTHON_USEDEP}] |
64 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
65 |
- >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] |
66 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
-" |
68 |
-BDEPEND=" |
69 |
- test? ( |
70 |
- >=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}] |
71 |
- >=dev-python/snappy-0.6.0[${PYTHON_USEDEP}] |
72 |
- >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] |
73 |
- >=dev-python/ujson-4.0.2[${PYTHON_USEDEP}] |
74 |
- >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] |
75 |
- >=dev-python/py-ubjson-0.16.1[${PYTHON_USEDEP}] |
76 |
- >=dev-python/flatbuffers-1.12[${PYTHON_USEDEP}] |
77 |
- >=dev-python/pyopenssl-20.0.1[${PYTHON_USEDEP}] |
78 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
79 |
- >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] |
80 |
- >=dev-python/pytrie-0.4[${PYTHON_USEDEP}] |
81 |
- >=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] |
82 |
- >=dev-python/cffi-1.14.5[${PYTHON_USEDEP}] |
83 |
- >=dev-python/argon2-cffi-20.1.0[${PYTHON_USEDEP}] |
84 |
- >=dev-python/passlib-1.7.4[${PYTHON_USEDEP}] |
85 |
- |
86 |
- dev-python/pytest[${PYTHON_USEDEP}] |
87 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
88 |
- dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
89 |
- ) |
90 |
-" |
91 |
- |
92 |
-python_prepare_all() { |
93 |
- if use xbr ; then |
94 |
- eerror "***************" |
95 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
96 |
- eerror "So this functionality will not yet work" |
97 |
- eerror "Please file a bug if this feature is needed" |
98 |
- eerror "***************" |
99 |
- else |
100 |
- # remove xbr components |
101 |
- export AUTOBAHN_STRIP_XBR="True" |
102 |
- fi |
103 |
- |
104 |
- # avoid useless rust dependency |
105 |
- sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die |
106 |
- |
107 |
- # remove twisted plugin cache regen in setup.py |
108 |
- # to fix tinderbox sandbox issue |
109 |
- sed -e '/import/s:reactor:__importmustfail__:' \ |
110 |
- -i setup.py || die |
111 |
- |
112 |
- distutils-r1_python_prepare_all |
113 |
-} |
114 |
- |
115 |
-python_test() { |
116 |
- einfo "Testing all, cryptosign using twisted" |
117 |
- local -x USE_TWISTED=true |
118 |
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die |
119 |
- "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" |
120 |
- unset USE_TWISTED |
121 |
- |
122 |
- einfo "RE-testing cryptosign and component_aio using asyncio" |
123 |
- local -x USE_ASYNCIO=true |
124 |
- epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py |
125 |
- unset USE_ASYNCIO |
126 |
- |
127 |
- rm -f twisted/plugins/dropin.cache || die |
128 |
-} |
129 |
- |
130 |
-pkg_postinst() { |
131 |
- optfeature "C-based WebSocket acceleration" "dev-python/wsaccel" |
132 |
- optfeature "non-standard WebSocket compression support" "dev-python/snappy" |
133 |
- optfeature "accelerated WAMP serialization support" \ |
134 |
- "dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson" |
135 |
- optfeature "TLS transport encryption" \ |
136 |
- "dev-python/pyopenssl dev-python/pynacl dev-python/pytrie dev-python/pyqrcode dev-python/service_identity" |
137 |
- optfeature "WAMP-SCRAM authentication" \ |
138 |
- "dev-python/cffi dev-python/argon2-cffi dev-python/passlib" |
139 |
- optfeature "native SIMD acceleration" "dev-python/cffi" |
140 |
- |
141 |
- python_foreach_impl twisted-regen-cache |
142 |
-} |
143 |
- |
144 |
-pkg_postrm() { |
145 |
- python_foreach_impl twisted-regen-cache |
146 |
-} |
147 |
|
148 |
diff --git a/dev-python/autobahn/autobahn-22.3.1.ebuild b/dev-python/autobahn/autobahn-22.3.1.ebuild |
149 |
deleted file mode 100644 |
150 |
index a15603075d58..000000000000 |
151 |
--- a/dev-python/autobahn/autobahn-22.3.1.ebuild |
152 |
+++ /dev/null |
153 |
@@ -1,115 +0,0 @@ |
154 |
-# Copyright 1999-2022 Gentoo Authors |
155 |
-# Distributed under the terms of the GNU General Public License v2 |
156 |
- |
157 |
-EAPI=8 |
158 |
- |
159 |
-DISTUTILS_USE_PEP517=setuptools |
160 |
-PYTHON_COMPAT=( python3_{8..10} ) |
161 |
- |
162 |
-inherit distutils-r1 optfeature |
163 |
- |
164 |
-MY_P=${PN}-$(ver_rs 3 -) |
165 |
- |
166 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
167 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
168 |
- https://crossbar.io/autobahn/ |
169 |
- https://github.com/crossbario/autobahn-python" |
170 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
171 |
-S="${WORKDIR}/${MY_P}" |
172 |
- |
173 |
-SLOT="0" |
174 |
-LICENSE="MIT" |
175 |
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
176 |
-IUSE="test xbr" |
177 |
-RESTRICT="!test? ( test )" |
178 |
- |
179 |
-# The order of deps is based on their appearance in setup.py |
180 |
-# All extra deps should be included in test and in optfeature |
181 |
-RDEPEND=" |
182 |
- >=dev-python/zope-interface-5.2.0[${PYTHON_USEDEP}] |
183 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
184 |
- >=dev-python/attrs-20.3.0[${PYTHON_USEDEP}] |
185 |
- >=dev-python/txaio-21.2.1[${PYTHON_USEDEP}] |
186 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
187 |
- >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] |
188 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
189 |
-" |
190 |
-BDEPEND=" |
191 |
- test? ( |
192 |
- >=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}] |
193 |
- >=dev-python/snappy-0.6.0[${PYTHON_USEDEP}] |
194 |
- >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] |
195 |
- >=dev-python/ujson-4.0.2[${PYTHON_USEDEP}] |
196 |
- >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] |
197 |
- >=dev-python/py-ubjson-0.16.1[${PYTHON_USEDEP}] |
198 |
- >=dev-python/flatbuffers-1.12[${PYTHON_USEDEP}] |
199 |
- >=dev-python/pyopenssl-20.0.1[${PYTHON_USEDEP}] |
200 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
201 |
- >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] |
202 |
- >=dev-python/pytrie-0.4[${PYTHON_USEDEP}] |
203 |
- >=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] |
204 |
- >=dev-python/cffi-1.14.5[${PYTHON_USEDEP}] |
205 |
- >=dev-python/argon2-cffi-20.1.0[${PYTHON_USEDEP}] |
206 |
- >=dev-python/passlib-1.7.4[${PYTHON_USEDEP}] |
207 |
- |
208 |
- dev-python/pytest[${PYTHON_USEDEP}] |
209 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
210 |
- dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
211 |
- ) |
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 |
- |
226 |
- # avoid useless rust dependency |
227 |
- sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die |
228 |
- |
229 |
- # remove twisted plugin cache regen in setup.py |
230 |
- # to fix tinderbox sandbox issue |
231 |
- sed -e '/import/s:reactor:__importmustfail__:' \ |
232 |
- -i setup.py || die |
233 |
- |
234 |
- distutils-r1_python_prepare_all |
235 |
-} |
236 |
- |
237 |
-python_test() { |
238 |
- einfo "Testing all, cryptosign using twisted" |
239 |
- local -x USE_TWISTED=true |
240 |
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die |
241 |
- "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" |
242 |
- unset USE_TWISTED |
243 |
- |
244 |
- einfo "RE-testing cryptosign and component_aio using asyncio" |
245 |
- local -x USE_ASYNCIO=true |
246 |
- epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py |
247 |
- unset USE_ASYNCIO |
248 |
- |
249 |
- rm -f twisted/plugins/dropin.cache || die |
250 |
-} |
251 |
- |
252 |
-pkg_postinst() { |
253 |
- optfeature "C-based WebSocket acceleration" "dev-python/wsaccel" |
254 |
- optfeature "non-standard WebSocket compression support" "dev-python/snappy" |
255 |
- optfeature "accelerated WAMP serialization support" \ |
256 |
- "dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson" |
257 |
- optfeature "TLS transport encryption" \ |
258 |
- "dev-python/pyopenssl dev-python/pynacl dev-python/pytrie dev-python/pyqrcode dev-python/service_identity" |
259 |
- optfeature "WAMP-SCRAM authentication" \ |
260 |
- "dev-python/cffi dev-python/argon2-cffi dev-python/passlib" |
261 |
- optfeature "native SIMD acceleration" "dev-python/cffi" |
262 |
- |
263 |
- python_foreach_impl twisted-regen-cache |
264 |
-} |
265 |
- |
266 |
-pkg_postrm() { |
267 |
- python_foreach_impl twisted-regen-cache |
268 |
-} |