1 |
commit: b2bd49e71c39a5b1f185a3f8861b3854da6b5c85 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 19:06:23 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 19:06:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bd49e7 |
7 |
|
8 |
dev-python/websocket-client: add 1.4.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/websocket-client/Manifest | 1 + |
13 |
.../websocket-client/websocket-client-1.4.0.ebuild | 34 ++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest |
17 |
index a4f9efbe8d04..8036e3b35efc 100644 |
18 |
--- a/dev-python/websocket-client/Manifest |
19 |
+++ b/dev-python/websocket-client/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST websocket-client-1.3.3.tar.gz 48250 BLAKE2B 1d6027d7ad2f45ad774da8c4d5ad9c19c084998429cbd0ad5ade89700bcc21dc7c2ac452d0f4238432c0af16ca82d01442d002f988204c96e655d810906730b7 SHA512 e70b6c074cbcac1e97dc11b0ccf60dc67fc066f8394b6cbd20349c1d41d625966c03645da5ccd0a81198c80e2e40fdc267ac599bc5dfacadad4c511a83e06de1 |
22 |
+DIST websocket-client-1.4.0.tar.gz 48470 BLAKE2B fb61ab005099cb213361c3b7ac0ac824a4780aad97d4fdad72dff71a06f626179e6416ad0fe9ed87112a2714db90eb06616584de7331466f62d2e8864689c62b SHA512 3f746f2ecdd4694e4d7c62eeea193015d6a082b149ca5db16e3cbd305955c99e126bbfd62513dab0037a8bc06999c67b016461137bf271a8578bcd6388e637fb |
23 |
|
24 |
diff --git a/dev-python/websocket-client/websocket-client-1.4.0.ebuild b/dev-python/websocket-client/websocket-client-1.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..688e78df8634 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/websocket-client/websocket-client-1.4.0.ebuild |
29 |
@@ -0,0 +1,34 @@ |
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=( pypy3 python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="WebSocket client for python with hybi13 support" |
41 |
+HOMEPAGE="https://github.com/websocket-client/websocket-client" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
47 |
+IUSE="examples" |
48 |
+ |
49 |
+BDEPEND=" |
50 |
+ test? ( |
51 |
+ dev-python/python-socks[${PYTHON_USEDEP}] |
52 |
+ ) |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_tests unittest |
56 |
+ |
57 |
+python_install_all() { |
58 |
+ if use examples; then |
59 |
+ docompress -x "/usr/share/doc/${PF}/examples" |
60 |
+ dodoc -r examples |
61 |
+ fi |
62 |
+ distutils-r1_python_install_all |
63 |
+} |