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: Thu, 10 Jun 2021 07:00:15
Message-Id: 1623308404.af01b50556d899a856addf268cf3e91c743b09d4.mgorny@gentoo
1 commit: af01b50556d899a856addf268cf3e91c743b09d4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 06:23:22 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 07:00:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af01b505
7
8 dev-python/websocket-client: Bump to 1.1.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/websocket-client/Manifest | 1 +
13 .../websocket-client/websocket-client-1.1.0.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest
17 index 9fb41320435..a1e085e2d9d 100644
18 --- a/dev-python/websocket-client/Manifest
19 +++ b/dev-python/websocket-client/Manifest
20 @@ -1,2 +1,3 @@
21 DIST websocket-client-0.59.0.tar.gz 57897 BLAKE2B 9f15c563491bd105a1987281cc20c0ab80ed1625036eeaa674fd28334b8226b5f9660b150743649f6bc7717d4306cbb1778222f9caeeff29507ab364572ce2b5 SHA512 c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1
22 DIST websocket-client-1.0.1.tar.gz 58561 BLAKE2B 852693b08cec5d8345ee0cd38d87a93abfd5ac52a72a0715705ae4a7d5f810288d9409e920424a317867e7292568a9a67b4fde8b892e9ff3fa011cf31c016f35 SHA512 349ecf0f80859e146e6039a29b50f8bb9a377ad65655c49b354702a7895ebed4f8849d979f04b1632c7926e3dfb707ae5791a75b3e9c66d35ad1445040d651b3
23 +DIST websocket-client-1.1.0.tar.gz 58890 BLAKE2B b7557f0847ee4ec31279d98661f2370f32eff35de5ea6207abe4afa6ef7314258da275d823487773722ac717888ca629284ef92870b5880fb385f7fb677506d6 SHA512 6f4b963455bdb6a0e0defff92a6b898ee4bdf605c18fef7e25e18e2c72a2ae360d760c2069a0ed330e5dc0f3347f16a9129c405d5c98cd2d56014f8636e7d5b5
24
25 diff --git a/dev-python/websocket-client/websocket-client-1.1.0.ebuild b/dev-python/websocket-client/websocket-client-1.1.0.ebuild
26 new file mode 100644
27 index 00000000000..0f8d234c04a
28 --- /dev/null
29 +++ b/dev-python/websocket-client/websocket-client-1.1.0.ebuild
30 @@ -0,0 +1,33 @@
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=( pypy3 python3_{8..10} )
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="LGPL-2.1+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
47 +IUSE="examples"
48 +
49 +distutils_enable_tests setup.py
50 +
51 +src_prepare() {
52 + # Internet
53 + sed -i -e 's:testConnect:_&:' websocket/tests/test_http.py || die
54 + distutils-r1_src_prepare
55 +}
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 +}