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: Fri, 25 Feb 2022 23:41:31
Message-Id: 1645829211.d52c29aa6bc4170330bcfcdadc121d288e866780.mgorny@gentoo
1 commit: d52c29aa6bc4170330bcfcdadc121d288e866780
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 25 22:46:51 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 25 22:46:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52c29aa
7
8 dev-python/websocket-client: Bump to 1.3.1
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.3.1.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 df1dc5e65a27..97e441652afe 100644
18 --- a/dev-python/websocket-client/Manifest
19 +++ b/dev-python/websocket-client/Manifest
20 @@ -1 +1,2 @@
21 DIST websocket-client-1.2.3.tar.gz 46434 BLAKE2B e1e294938b41e6d82fa5cf8cd58fd9653e5170e11e546a04bce6dc0c8a9752cc25a21dbc1352fc614651f9fee43410a269a35e4c8dbacffec14f1ed8e8526f89 SHA512 5e5e00d43b7b4da5e2cb0d00d1e743e420791856e51e2b3d28d78219edcd7a2eace834ae4d7ee2faf89ab27c2b65f063e508f0e470a47ff9d88c36748b3dd113
22 +DIST websocket-client-1.3.1.tar.gz 47672 BLAKE2B c28af7684750e5d678a2e3bb5440eee2ff96effdc6f08a7312b7f596e39b29fd96936f04735b737fe00426869a3d8bb9eaf51c2aac32cbc845e7386d0a653780 SHA512 d60c5e755944ed0b2d426c75da9650a6624ee5718061a0cfb71b9a700e5bd3db9143702657175d7988b57e81117bad9cbb58636fb14ca55ad6addd90ff02ce0f
23
24 diff --git a/dev-python/websocket-client/websocket-client-1.3.1.ebuild b/dev-python/websocket-client/websocket-client-1.3.1.ebuild
25 new file mode 100644
26 index 000000000000..ec8a093a7efb
27 --- /dev/null
28 +++ b/dev-python/websocket-client/websocket-client-1.3.1.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..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="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 +}