commit:     1a5ee07527edbbf1bb81385310f490a70f98a56a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 03:35:03 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 03:35:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5ee075

dev-python/websockets: Bump to 10.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/websockets/Manifest               |  1 +
 dev-python/websockets/websockets-10.4.ebuild | 35 ++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest
index 8f7dd146ef05..ac0558fbdd12 100644
--- a/dev-python/websockets/Manifest
+++ b/dev-python/websockets/Manifest
@@ -1 +1,2 @@
 DIST websockets-10.3.gh.tar.gz 304375 BLAKE2B 
db6075304613ff74ad5928a0c57e90a7d418ac0b9532adba4c6a17b3c3f1982cc94db8ac4c0da5f65343a915f3b2e7ccedce4e6d5d4960cb72fc93c3db6e041c
 SHA512 
75a11dd7605808954c5f59decda5b115db73de96ed4023d8d7ee3c9966551a9ded2d771f76b086c76f49b0787f19349dadcd9010eb5fea8eeddf3d9bba1c6cbb
+DIST websockets-10.4.gh.tar.gz 309611 BLAKE2B 
f3a739368ff9d78fef79324af59d1e77b3fb654b8b1a847373a29f19b11ae9266b9a938d235ee27d12b59d9b4cf29825fc7298ff2f35e5b260df2c7a41a1bd78
 SHA512 
087b1920ff26e21b8d3b80b53249d44b841fc45a4992df1ad725112404f724a41aaa2d759a2bd521dfe337459f8bf0d2ae048c423489f527c68f6825f928b582

diff --git a/dev-python/websockets/websockets-10.4.ebuild 
b/dev-python/websockets/websockets-10.4.ebuild
new file mode 100644
index 000000000000..12d175fce31a
--- /dev/null
+++ b/dev-python/websockets/websockets-10.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Library for building WebSocket servers and clients in Python"
+HOMEPAGE="
+       https://websockets.readthedocs.io/
+       https://github.com/aaugustin/websockets/
+       https://pypi.org/project/websockets/
+"
+SRC_URI="
+       https://github.com/aaugustin/websockets/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # very fragile to speed
+               
tests/legacy/test_protocol.py::ServerTests::test_local_close_receive_close_frame_timeout
+       )
+
+       epytest tests
+}

Reply via email to