1 |
commit: aa53c04f3817102d29c1a3d0fbcae61960b16e28 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 08:46:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 09:15:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa53c04f |
7 |
|
8 |
dev-python/websockets: Bump to 10.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/websockets/Manifest | 1 + |
13 |
dev-python/websockets/websockets-10.2.ebuild | 29 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest |
17 |
index de724b503ed6..71abe54223dd 100644 |
18 |
--- a/dev-python/websockets/Manifest |
19 |
+++ b/dev-python/websockets/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST websockets-10.0-src.tar.gz 276231 BLAKE2B 6170f0540bc33be3d9a71f596ffee58e6e43c2173239a8fffe4f0c2a7555f8ce26849d85ed7865a5df6a4401f01bb0c928a341598916487cc79152a5031e9bbc SHA512 532289dc411d11cffc6e5aa07013cdad9655f124fbbd5dbdfe92985caf554644976a521466b1d3cbe124de11809e395b5e83195eac87495585779591b189c4d7 |
22 |
DIST websockets-10.1-src.tar.gz 299315 BLAKE2B 425e7c8597f081874127ac75003aed11ebb2cf647ce9fed9e17c955e485a7a59c95d1112524d3f0d747b796b0cc41972258661c9fc9c7972f68aaebe3223b596 SHA512 c284ec92bc133c7083a72d4f364d9ace13d3eb6d7355ae46084d8097c137cdec3933cae9d5ab72d8a517af38328cea6c39877f747f5386df54a7362271cc7e7b |
23 |
+DIST websockets-10.2-src.tar.gz 302766 BLAKE2B 2313bab904de3671f973191f1c43d275ede44c87811d82f22c6bd76145610ba5d4ba4d7a1b3a564bfc8c4a9b7921b2edc640af9304733e85deac1e728f0050f3 SHA512 b8c7fbe627e1c411112b0d66e561aa9bcf15d6de07a9cccd203211e0e6af49762774e09f8c5f4523fe214731ae7a96ed4b63639c7ed66fee062cdda3e5fba350 |
24 |
|
25 |
diff --git a/dev-python/websockets/websockets-10.2.ebuild b/dev-python/websockets/websockets-10.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c13fcdc2d0a3 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/websockets/websockets-10.2.ebuild |
30 |
@@ -0,0 +1,29 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Library for building WebSocket servers and clients in Python" |
42 |
+HOMEPAGE="https://websockets.readthedocs.io/" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}-src.tar.gz |
45 |
+" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
50 |
+ |
51 |
+distutils_enable_tests unittest |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ # these fail due to timeouts on slower hardware |
55 |
+ sed -e 's:test_keepalive_ping_with_no_ping_timeout:_&:' \ |
56 |
+ -e 's:test_keepalive_ping(:_&:' \ |
57 |
+ -i tests/legacy/test_protocol.py || die |
58 |
+ distutils-r1_src_prepare |
59 |
+} |