commit:     41670abfce09dfa3e524c0dc63e2a94b7d95f24f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 08:07:07 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 08:19:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41670abf

dev-python/websockets: Bump to 10.3

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

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

diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest
index 8b086337648b..510018fac960 100644
--- a/dev-python/websockets/Manifest
+++ b/dev-python/websockets/Manifest
@@ -1 +1,2 @@
 DIST websockets-10.2-src.tar.gz 302766 BLAKE2B 
2313bab904de3671f973191f1c43d275ede44c87811d82f22c6bd76145610ba5d4ba4d7a1b3a564bfc8c4a9b7921b2edc640af9304733e85deac1e728f0050f3
 SHA512 
b8c7fbe627e1c411112b0d66e561aa9bcf15d6de07a9cccd203211e0e6af49762774e09f8c5f4523fe214731ae7a96ed4b63639c7ed66fee062cdda3e5fba350
+DIST websockets-10.3.gh.tar.gz 304375 BLAKE2B 
db6075304613ff74ad5928a0c57e90a7d418ac0b9532adba4c6a17b3c3f1982cc94db8ac4c0da5f65343a915f3b2e7ccedce4e6d5d4960cb72fc93c3db6e041c
 SHA512 
75a11dd7605808954c5f59decda5b115db73de96ed4023d8d7ee3c9966551a9ded2d771f76b086c76f49b0787f19349dadcd9010eb5fea8eeddf3d9bba1c6cbb

diff --git a/dev-python/websockets/websockets-10.3.ebuild 
b/dev-python/websockets/websockets-10.3.ebuild
new file mode 100644
index 000000000000..1723d0a7cdd0
--- /dev/null
+++ b/dev-python/websockets/websockets-10.3.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..10} )
+
+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 ~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