1 |
commit: ec8f66d86d64941b5ca3d4c06877221d99e59481 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 30 03:03:20 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 30 03:18:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8f66d8 |
7 |
|
8 |
dev-python/websocket-client: bump to 0.48.0, fix examples |
9 |
|
10 |
Also add PyPy{,3} and fix test dependencies. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/653010 |
13 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
14 |
|
15 |
dev-python/websocket-client/Manifest | 1 + |
16 |
.../websocket-client-0.48.0.ebuild | 42 ++++++++++++++++++++++ |
17 |
2 files changed, 43 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest |
20 |
index 2ff147c5166..d9b74da2a2d 100644 |
21 |
--- a/dev-python/websocket-client/Manifest |
22 |
+++ b/dev-python/websocket-client/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST websocket-client-0.37.0.tar.gz 194246 BLAKE2B 805482524b603fbfeb1039bcd99d761d125504a0f8d1a69766d4f586da241efd9d07ade030152fc51228a7333c97313fb98483de95808f81cfa23e7c3b0ff1d4 SHA512 b72f18c91d9a51a1943fc798601bcd9eac8b1ce807a2abb72b7cf897da30de808160645d9c7f3eaf2430e739cd0c6c01046c452f43c61af63afe7d31d801f9f7 |
25 |
DIST websocket-client-0.40.0.tar.gz 196203 BLAKE2B 303aeed5bfc84139adfbef3f3198512172220d2670e38683d660def19dcd82015bf85edd26a5aa029ba021c1f9496dca33e5ee8afc790b87eb1fa7b7b17c9aed SHA512 b57593e14087ff36ab2133fb8077aa207bcdcc04fa82d00eb8fa3b86bdf7fa949c8ca25317a7fe035ef0f36d2c996e036d2b715399813604d5593584d409a5eb |
26 |
DIST websocket-client-0.47.0.tar.gz 202611 BLAKE2B 8258ac3186eedcf7e3a791768ddadbe32aa506f27889214a6a275d6710bb7adf8d0ba8354165a0d07b7a084fe5937fc65ee85e6d84fc8ad21a7d2ece4ae8d91d SHA512 0d384e96be66877ba0c24e7194e2f3d554f818c2e2f107b054e07034fa7678946738c2b08c68cd71ebe0237fa507fade319273c492871fbd0ad7085b87cf0a54 |
27 |
+DIST websocket-client-0.48.0.tar.gz 44492 BLAKE2B 39191416d0f80778edc261e96554d3955fcb71542c891fbc506e30c768d2d684942cf690647b65c2245da45c993e3e60d65bd7ab9d28bfa6eb304a95a3ccf619 SHA512 6c678a2671ce6cfb86a61effa836bbe4bb1702f22827934b1fcd7f0f8439be76037d9b6d4d6b416249361a9a74a92701d7b90bc6276b2433388644ed66f56333 |
28 |
|
29 |
diff --git a/dev-python/websocket-client/websocket-client-0.48.0.ebuild b/dev-python/websocket-client/websocket-client-0.48.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..a82bb5438c3 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/websocket-client/websocket-client-0.48.0.ebuild |
34 |
@@ -0,0 +1,42 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+MY_PN=${PN//-/_} |
45 |
+ |
46 |
+DESCRIPTION="WebSocket client for python with hybi13 support" |
47 |
+HOMEPAGE="https://github.com/websocket-client/websocket-client" |
48 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="LGPL-2.1" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm64 ~x64-macos ~x86" |
53 |
+IUSE="examples test" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/six[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' pypy python2_7 ) |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ test? ( ${RDEPEND} ) |
62 |
+" |
63 |
+ |
64 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
65 |
+ |
66 |
+python_test() { |
67 |
+ esetup.py test |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ if use examples; then |
72 |
+ docompress -x "/usr/share/doc/${PF}/examples" |
73 |
+ dodoc -r examples |
74 |
+ fi |
75 |
+ distutils-r1_python_install_all |
76 |
+} |