Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/websocket-client/
Date: Wed, 05 May 2021 09:25:52
Message-Id: 1620206729.27b17c0c6ae542d6739a8dca06817bdbc8d2be21.mgorny@gentoo
1 commit: 27b17c0c6ae542d6739a8dca06817bdbc8d2be21
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 5 07:32:26 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 5 09:25:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b17c0c
7
8 dev-python/websocket-client: Bump to 0.59.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/websocket-client/Manifest | 1 +
13 .../websocket-client-0.59.0.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest
17 index d5a5b4ad62b..4ca4b12cece 100644
18 --- a/dev-python/websocket-client/Manifest
19 +++ b/dev-python/websocket-client/Manifest
20 @@ -1 +1,2 @@
21 +DIST websocket-client-0.59.0.tar.gz 57897 BLAKE2B 9f15c563491bd105a1987281cc20c0ab80ed1625036eeaa674fd28334b8226b5f9660b150743649f6bc7717d4306cbb1778222f9caeeff29507ab364572ce2b5 SHA512 c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1
22 DIST websocket_client-0.58.0.tar.gz 48216 BLAKE2B 5e559852385d95caffa73fdb4bfcddd3e00f7bdc9d23d07e7bd6b9e8de599742e153d31bb3a57bdf1aef02361f5dc0b13a443c21872c27576e068f246102d655 SHA512 c587945831427a9bddef96be53d20fec7f55ffd7efe2b676dac96b8078ba446ecda85379a4edfc49c36de936516d3994cbd0515decb9b615cd969bde1117167a
23
24 diff --git a/dev-python/websocket-client/websocket-client-0.59.0.ebuild b/dev-python/websocket-client/websocket-client-0.59.0.ebuild
25 new file mode 100644
26 index 00000000000..691924433e0
27 --- /dev/null
28 +++ b/dev-python/websocket-client/websocket-client-0.59.0.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( pypy3 python3_{7..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="WebSocket client for python with hybi13 support"
40 +HOMEPAGE="https://github.com/websocket-client/websocket-client"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="LGPL-2.1+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
46 +IUSE="examples"
47 +
48 +RDEPEND="
49 + dev-python/six[${PYTHON_USEDEP}]
50 +"
51 +
52 +distutils_enable_tests setup.py
53 +
54 +src_prepare() {
55 + sed -i -e '1i#!/usr/bin/env python' bin/wsdump.py || die
56 + # Internet
57 + sed -i -e 's:testConnect:_&:' websocket/tests/test_http.py || die
58 + distutils-r1_src_prepare
59 +}
60 +
61 +python_install_all() {
62 + if use examples; then
63 + docompress -x "/usr/share/doc/${PF}/examples"
64 + dodoc -r examples
65 + fi
66 + distutils-r1_python_install_all
67 +}