summaryrefslogtreecommitdiff
path: root/dev-python/websockets
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-08 11:38:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-08 11:38:53 +0100
commitc53e4600c18a19ae2aaab501c1e5e7d6ceed23fe (patch)
treecc5e0068db67486f497b7bf5299b078899b39d94 /dev-python/websockets
parentb31d1d6a72f3d27f400fe6c0781a620780f2627e (diff)
gentoo auto-resync : 08:05:2023 - 11:38:53
Diffstat (limited to 'dev-python/websockets')
-rw-r--r--dev-python/websockets/Manifest2
-rw-r--r--dev-python/websockets/websockets-11.0.3.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest
index 4805d044585b..940930c61ba5 100644
--- a/dev-python/websockets/Manifest
+++ b/dev-python/websockets/Manifest
@@ -1,9 +1,11 @@
DIST websockets-10.4.gh.tar.gz 309611 BLAKE2B f3a739368ff9d78fef79324af59d1e77b3fb654b8b1a847373a29f19b11ae9266b9a938d235ee27d12b59d9b4cf29825fc7298ff2f35e5b260df2c7a41a1bd78 SHA512 087b1920ff26e21b8d3b80b53249d44b841fc45a4992df1ad725112404f724a41aaa2d759a2bd521dfe337459f8bf0d2ae048c423489f527c68f6825f928b582
DIST websockets-11.0.1.gh.tar.gz 347321 BLAKE2B 21ebcf13c41f5e7ea5247174684e8e37ac383fe94da7f6a1ebfeaf6024669fd2b362847055775a81cb4a36722526a42b91c9e28e1a8d016918ffe16481375f7b SHA512 a9c3bf215c5c5cf1032cf8f2cd85cc8d78e3486f4e40e301be246181dc64a5543377bc7205695f89f7141b2c48115cbcd1cca6a353ad9d36ac9cb294d48b2e2e
DIST websockets-11.0.2.gh.tar.gz 347575 BLAKE2B 1d609298d072dbd986fa2adcac1c8f80720622fdcd44cb8ab079ba812fa7a750cdd4a5b432a74d422ca3ac8e7baef8e38e227569b8681e033f599fa29b19383c SHA512 e397d7b51c3edcc68fd32dbf8fcd46f5c9230c270be46c45a503108690d5513e2626fc4f4f5d271c831570abeeff51bf27c09ea69459b970a41fb64eb84fc87e
+DIST websockets-11.0.3.gh.tar.gz 347652 BLAKE2B b7d796744cb4c7b944e98644dfb9c0e44ba465a6dba71b9e891604f3012b025557dbcd5b7eeae02e71c84350e05b334f99404ddfda814a8984b7a893d3f092f7 SHA512 37a84d7c57da7a3e48870abf992ba96ee454b342610d51c06f7dfc7ee082b7fb51304518c208379c3dbd039eafb1a85444c257fed20b4605a52dc8fc938a4cca
DIST websockets-11.0.gh.tar.gz 347307 BLAKE2B b40b8e88375a1e5e0f6ae1c73169703d206800dcec15d858a0360374701b681ec17c457b014a29dc34962ca1f62261a8b8298e34092429864d790dd4a060e8d8 SHA512 367347464d5d721ad65055743df92311e7d98d0391ff437ab8c3224f1c1e4193b5abbdbf1498cd040d9b30251e6bc051e9c1ec54122b87e4c937026e0f6f3b8e
EBUILD websockets-10.4.ebuild 833 BLAKE2B 909c86ffb1ffc7c4791a88be6b429e8900f9cba4eb4398c94538d28a8a8e50f9461d534f75c1f84b2e82fa68e031c0a4993b8df0f743e003fb80ebe36681fdf9 SHA512 e18093e4d4d726a49040e58e9f218fb3e959b049682c5d6d10ef4f8c0e99e632fe4a2d26728e3109eebbecc0bc701e89d74f1f25ce28db3e5522d8433e2e507f
EBUILD websockets-11.0.1.ebuild 981 BLAKE2B 840a56ea10f4a30d23d9bb5f656d3b6fdaf63014811516fae0129751ffc01b1aaab0cc019f71443052ec4e125d3f47c662f130d6429c7aabfc5d2eb0c72b59ff SHA512 32233030eadd7e3557490b16c394400848ebb746c08b8aad8d07a98caca03ff67531e7ee45fdd7b2069a9964775b48b5442a6d0408602c4c4010e35deddeb26e
EBUILD websockets-11.0.2.ebuild 1007 BLAKE2B 7e0238eec0fcd7148c0cf21871b120288891635391acc712edb9234832049c83194c925a9e12bee1b742387b0198bbf703e106cc15aca55f17e0c25252026e61 SHA512 ed2f17acb96d8e3548c395b5c314d43f5d665c439b1e05459663fc4912462e517196be22bd5f040a4877f152a7e7f639b22090b73f78f2ae767fc043d91c659a
+EBUILD websockets-11.0.3.ebuild 1013 BLAKE2B f8b2d509b466a75cd17c15201088f4e1fbad9e8ddc8ea7f42462de22d605fd6cd45166124ed304c0f0c4223ff0cd04824292f68e6ff8f0b7907f30ae1dea3ca0 SHA512 a3332e0789f5dd0db76b4bee90af78920c2a78c60c242314cbecba2a6ec032ebef0ad96cf685daa4bd6aa5260a16ed9fc2c6e0affda14a98cd537bb2a8e91053
EBUILD websockets-11.0.ebuild 981 BLAKE2B 840a56ea10f4a30d23d9bb5f656d3b6fdaf63014811516fae0129751ffc01b1aaab0cc019f71443052ec4e125d3f47c662f130d6429c7aabfc5d2eb0c72b59ff SHA512 32233030eadd7e3557490b16c394400848ebb746c08b8aad8d07a98caca03ff67531e7ee45fdd7b2069a9964775b48b5442a6d0408602c4c4010e35deddeb26e
MISC metadata.xml 580 BLAKE2B 66a318a73b2a9e37f44a28dfc9ed5f1aa7193edb05fa295bde27fd7a1c429cae1d875289ac5bd8ff7b579be2cfc5671d27dfb46ba959c47b2c1074e8e549e9c3 SHA512 c4ba79e5ec539ffb6f0338e6e161132dc8dd0e6c7e7533df1c32731810126b728076703a542bb28abc159842ad71bd42e69e36f4fe17dc3377d054d21ec53dbf
diff --git a/dev-python/websockets/websockets-11.0.3.ebuild b/dev-python/websockets/websockets-11.0.3.ebuild
new file mode 100644
index 000000000000..f3ef9af590b3
--- /dev/null
+++ b/dev-python/websockets/websockets-11.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Library for building WebSocket servers and clients in Python"
+HOMEPAGE="
+ https://websockets.readthedocs.io/
+ https://github.com/python-websockets/websockets/
+ https://pypi.org/project/websockets/
+"
+# tests are missing pypi sdist, as of 11.0
+SRC_URI="
+ https://github.com/python-websockets/websockets/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+distutils_enable_tests pytest
+
+src_configure() {
+ export BUILD_EXTENSION=$(usex native-extensions)
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # very fragile to speed
+ tests/legacy/test_protocol.py::ServerTests::test_local_close_receive_close_frame_timeout
+ )
+
+ epytest tests
+}