1 |
commit: 7041669a78580ba7d012590e03c9910a17978c41 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 5 08:42:02 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 5 08:42:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7041669a |
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 | 1 - |
13 |
dev-python/autobahn/autobahn-22.4.2.ebuild | 117 ----------------------------- |
14 |
2 files changed, 118 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/autobahn/Manifest b/dev-python/autobahn/Manifest |
17 |
index fc06d3e057ea..358f9048a654 100644 |
18 |
--- a/dev-python/autobahn/Manifest |
19 |
+++ b/dev-python/autobahn/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST autobahn-22.4.2.tar.gz 396061 BLAKE2B da51f53f138ff6935f55561305c9cb0b29dcfef27fa63f32beac867f8aec2149a681f2dcbea6f30423e5571bf0fbf18fe13604c11d1accf78629c714bcbbc754 SHA512 9d803a699dd370b25e6c1601e635fe60a8e24f33245008bfe271d34ba47e70b7fab8c555a2c68a5255515a51e56476a63bfb0c9d98ed3687b71317ab46efc5ec |
22 |
DIST autobahn-22.5.1.tar.gz 435571 BLAKE2B 5e596102b639228d95cea027a0e7187adc4f0910afbd3c5753c0408e070a37b911362eba64c79ce6201000e59381de0941619bef152ca2d784a2c19f1a67a36f SHA512 c27c0f1a782c53df7c152c8043a8e5502f19944e9d5a6ab4a95d02016dfbba70a770f1f4969b75995beed852191bde288d80d1336d56fba1eea190d6590ca642 |
23 |
|
24 |
diff --git a/dev-python/autobahn/autobahn-22.4.2.ebuild b/dev-python/autobahn/autobahn-22.4.2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 230dbd5485c6..000000000000 |
27 |
--- a/dev-python/autobahn/autobahn-22.4.2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,117 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
- |
38 |
-inherit distutils-r1 optfeature |
39 |
- |
40 |
-MY_P=${PN}-$(ver_rs 3 -) |
41 |
- |
42 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
43 |
-HOMEPAGE=" |
44 |
- https://crossbar.io/autobahn/ |
45 |
- https://github.com/crossbario/autobahn-python/ |
46 |
- https://pypi.org/project/autobahn/ |
47 |
-" |
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/cffi-1.14.5[${PYTHON_USEDEP}] |
82 |
- >=dev-python/argon2-cffi-20.1.0[${PYTHON_USEDEP}] |
83 |
- >=dev-python/passlib-1.7.4[${PYTHON_USEDEP}] |
84 |
- |
85 |
- dev-python/pytest[${PYTHON_USEDEP}] |
86 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
87 |
- dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
88 |
- ) |
89 |
-" |
90 |
- |
91 |
-python_prepare_all() { |
92 |
- if use xbr ; then |
93 |
- eerror "***************" |
94 |
- eerror "Required xbr dependencies are incomplete in Gentoo." |
95 |
- eerror "So this functionality will not yet work" |
96 |
- eerror "Please file a bug if this feature is needed" |
97 |
- eerror "***************" |
98 |
- else |
99 |
- # remove xbr components |
100 |
- export AUTOBAHN_STRIP_XBR="True" |
101 |
- fi |
102 |
- |
103 |
- # avoid useless rust dependency |
104 |
- sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die |
105 |
- |
106 |
- # remove twisted plugin cache regen in setup.py |
107 |
- # to fix tinderbox sandbox issue |
108 |
- sed -e '/import/s:reactor:__importmustfail__:' \ |
109 |
- -i setup.py || die |
110 |
- |
111 |
- distutils-r1_python_prepare_all |
112 |
-} |
113 |
- |
114 |
-python_test() { |
115 |
- rm -rf autobahn || die |
116 |
- |
117 |
- einfo "Testing all, cryptosign using twisted" |
118 |
- local -x USE_TWISTED=true |
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 --pyargs autobahn.wamp.test.test_wamp_{cryptosign,component_aio} |
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 |
-} |