1 |
commit: 3ae7753fd7a7a9e88e5632797a899d2028f0b7bd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 22 22:44:41 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 23 00:12:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae7753f |
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-21.3.1.ebuild | 106 ----------------------------- |
14 |
dev-python/autobahn/metadata.xml | 1 - |
15 |
3 files changed, 108 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/autobahn/Manifest b/dev-python/autobahn/Manifest |
18 |
index 308c6cdc5c02..96b9dfbe6503 100644 |
19 |
--- a/dev-python/autobahn/Manifest |
20 |
+++ b/dev-python/autobahn/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST autobahn-21.11.1.tar.gz 365165 BLAKE2B 91a12bf1fa9acd056246d86675c76fbcdb4de8914f4ab5e2c8ec06cf8e822cc1a72f8a7b39b520405cce32e2f32024ebbaa48ba024e1dc71b50da4e6f8913e19 SHA512 5a23272046ef67821e86c6bfe766273b3ba73a75fbc51c7864c2ab83ffb8d4e119022980f8b71c453118bf15b26ede8042aa0114e54caebbfb33555208093ac2 |
23 |
-DIST autobahn-21.3.1.tar.gz 351296 BLAKE2B d018c8820a1accc779decdb8d392d3ff6225f80674b468145a8f29b275d6f0b1021a226dc8bc72915a792591e6d4ae8d6a33a96cf705241990ac401c8342e2c5 SHA512 dd6bf6eba6f2880860c6fa42e3925bb15d36bfb9d2354ddeb0165972848e81a308723b7f9dcd6ec3426b6286f71cb2da453590810e5d891523d92acf9fd64c52 |
24 |
|
25 |
diff --git a/dev-python/autobahn/autobahn-21.3.1.ebuild b/dev-python/autobahn/autobahn-21.3.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index bb29fec98698..000000000000 |
28 |
--- a/dev-python/autobahn/autobahn-21.3.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,106 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-MY_P=${PN}-$(ver_rs 3 -) |
40 |
- |
41 |
-DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" |
42 |
-HOMEPAGE="https://pypi.org/project/autobahn/ |
43 |
- https://crossbar.io/autobahn/ |
44 |
- https://github.com/crossbario/autobahn-python" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
46 |
-S=${WORKDIR}/${MY_P} |
47 |
- |
48 |
-SLOT="0" |
49 |
-LICENSE="MIT" |
50 |
-KEYWORDS="amd64 arm arm64 x86" |
51 |
-IUSE="crypt scram test xbr" |
52 |
-RESTRICT="!test? ( test )" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
56 |
- >=dev-python/cbor-1.0.0[${PYTHON_USEDEP}] |
57 |
- >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] |
58 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
59 |
- >=dev-python/flatbuffers-1.10.0[${PYTHON_USEDEP}] |
60 |
- >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] |
61 |
- >=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}] |
62 |
- >=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}] |
63 |
- >=dev-python/snappy-0.5[${PYTHON_USEDEP}] |
64 |
- >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] |
65 |
- >=dev-python/txaio-21.2.1[${PYTHON_USEDEP}] |
66 |
- >=dev-python/ujson-2.0.0[${PYTHON_USEDEP}] |
67 |
- >=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}] |
68 |
- >=dev-python/zope-interface-3.6[${PYTHON_USEDEP}] |
69 |
- crypt? ( |
70 |
- >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] |
71 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
72 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
73 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
74 |
- >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] |
75 |
- ) |
76 |
- scram? ( |
77 |
- dev-python/cffi[${PYTHON_USEDEP}] |
78 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
79 |
- dev-python/passlib[${PYTHON_USEDEP}] |
80 |
- ) |
81 |
- " |
82 |
-BDEPEND=" |
83 |
- test? ( |
84 |
- dev-python/mock[${PYTHON_USEDEP}] |
85 |
- dev-python/pytest[${PYTHON_USEDEP}] |
86 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
87 |
- >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
88 |
- >=dev-python/pytrie-0.2[${PYTHON_USEDEP}] |
89 |
- >=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}] |
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 's/# regenerate Twisted plugin cache/# DO NOT regenerate Twisted plugin cache in Gentoo\nexit()/' \ |
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}"/lib || die |
119 |
- "${EPYTHON}" -m twisted.trial autobahn || die |
120 |
- unset USE_TWISTED |
121 |
- einfo "RE-testing cryptosign and component_aio using asyncio" |
122 |
- local -x USE_ASYNCIO=true |
123 |
- pytest -vv autobahn/wamp/test/test_wamp_cryptosign.py || die |
124 |
- pytest -vv autobahn/wamp/test/test_wamp_component_aio.py || die |
125 |
- unset USE_ASYNCIO |
126 |
- rm -r .pytest_cache || die |
127 |
- rm -f "${BUILD_DIR}"/lib/twisted/plugins/dropin.cache || die |
128 |
-} |
129 |
- |
130 |
-pkg_postinst() { |
131 |
- python_foreach_impl twisted-regen-cache || die |
132 |
-} |
133 |
- |
134 |
-pkg_postrm() { |
135 |
- python_foreach_impl twisted-regen-cache || die |
136 |
-} |
137 |
|
138 |
diff --git a/dev-python/autobahn/metadata.xml b/dev-python/autobahn/metadata.xml |
139 |
index 5822dba04825..67c2b1b9d76d 100644 |
140 |
--- a/dev-python/autobahn/metadata.xml |
141 |
+++ b/dev-python/autobahn/metadata.xml |
142 |
@@ -10,7 +10,6 @@ |
143 |
<name>Python</name> |
144 |
</maintainer> |
145 |
<use> |
146 |
- <flag name="scram">Add support for WAMP-SCRAM authentication</flag> |
147 |
<flag name="xbr">Add support for XBR decentralized data markets and etherium blockchain</flag> |
148 |
</use> |
149 |
<upstream> |