diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
commit | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch) | |
tree | 24cd2cf57f3932a24b96e4a0f6666489447e43ba /dev-python/websockets | |
parent | 590b9b7b03bf4651e099949e318755af7cfa81b8 (diff) |
gentoo resync : 07.08.2021
Diffstat (limited to 'dev-python/websockets')
-rw-r--r-- | dev-python/websockets/Manifest | 2 | ||||
-rw-r--r-- | dev-python/websockets/websockets-9.1-r1.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index ce828ab25a1a..0443e6e23de1 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,3 +1,5 @@ +DIST websockets-9.1-python-3.10-support.patch.gz 6940 BLAKE2B e4835c7d5efaf956d07b884c85e0b95f26674bf36164fa8362d1c1a564a959bde761d25e747333c58864f74a5ea1b199f228a46ec6a1647c5495ea032020c179 SHA512 7fb4b298a9167c8d913e293fa7549b21d5acb333a5b97e0624a22cb83548ef548b819ac23750c40295140b6f83a701c73a81fdcaed3ab8e704dbee8e17d22f1d DIST websockets-9.1-src.tar.gz 191813 BLAKE2B cb3807f01e1a4c22a40bf5150d1e8b21ca786dc5bc4da8f3e6602971f3f7c79b57092f5ddfe3ee52ec00e7fd15f3a992fdbb94b5e26599f2621a7f51434ba6dd SHA512 ff2907a913ff0b8ced6dda72b6fc6512a2ece3ffded2e2dcb8ff6805de9ad504430cc1871c1f6e02ab8069e7b96b2e7609afaf3c9c25f9271b28e2daa72bd3ac +EBUILD websockets-9.1-r1.ebuild 936 BLAKE2B 0a9c53c5a15a9b6d6b4ad2a16cb31dfd3c445346d7352bae307f4a6334cb06e869f7dcf55704d1a1e08319d0bacb5899436e2529bc4919a14f2f1acca51092db SHA512 93acf9b63835c187a0a79c1ea66a1f116aab90f77570a799de887680436d9215062fc2358f5a7e368d5a8442b9423d123c01d7d55091033cdef4ceb3c1b8662e EBUILD websockets-9.1.ebuild 711 BLAKE2B 76b5e96b67135d5173709b1ea9ebd459595a26986fe8f522434a8b744fa5b7faf21e80480323b0573ceb4b4656c9e65d3ee91000937d184a99a50c5bc5697c78 SHA512 c097db15bf8ece86b4595078699f9644ab2026dd215288fdf202aff356c88d3bace38539cc280f4efcd2c467d0d17d26e4ca1ad278e4b7f89498fa2fbf034f93 MISC metadata.xml 487 BLAKE2B 7d67f4b4e650d1cc83e80eb7ad5020ef997f92997d94f19274b7e0c794f9efdb3d085faa8582321f0732cf489a5358310368a2e22b8e471d815bc9b09a16f47e SHA512 6b88582ba918dd95faa5b7e3d4aeb59f7ff455a509c018c61f61a1d2e9f69734c9d02c9d666447ea787f771fd13b44f7a54b0e6147703187a7a9fe9fccf186e2 diff --git a/dev-python/websockets/websockets-9.1-r1.ebuild b/dev-python/websockets/websockets-9.1-r1.ebuild new file mode 100644 index 000000000000..4fe1b8159c40 --- /dev/null +++ b/dev-python/websockets/websockets-9.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE="https://websockets.readthedocs.io/" +SRC_URI=" + https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}-src.tar.gz + https://dev.gentoo.org/~sbraz/${P}-python-3.10-support.patch.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +distutils_enable_tests unittest + +PATCHES=( + # https://github.com/aaugustin/websockets/commit/08d8011132ba038b3f6c4d591189b57af4c9f147 + "${WORKDIR}/${P}-python-3.10-support.patch" +) + +src_prepare() { + # these fail due to timeouts on slower hardware + sed -e 's:test_keepalive_ping_with_no_ping_timeout:_&:' \ + -e 's:test_keepalive_ping(:_&:' \ + -i tests/legacy/test_protocol.py || die + + distutils-r1_src_prepare +} |