diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-02 20:57:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-02 20:57:17 +0000 |
commit | 9bc9c4dcc38dc560cff8e5d083d1e5f282ddde98 (patch) | |
tree | aebfd3698cdc5ed079dbfd553063a19b4662965d /dev-python/websockets | |
parent | cc2c9e975285d6fb1be1b71d18ba4cca7991b921 (diff) |
gentoo auto-resync : 02:12:2022 - 20:57:16
Diffstat (limited to 'dev-python/websockets')
-rw-r--r-- | dev-python/websockets/Manifest | 3 | ||||
-rw-r--r-- | dev-python/websockets/files/websockets-10.3-py311.patch | 24 | ||||
-rw-r--r-- | dev-python/websockets/websockets-10.3.ebuild | 39 |
3 files changed, 0 insertions, 66 deletions
diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index 1368a635a643..a0c255509a8c 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,6 +1,3 @@ -AUX websockets-10.3-py311.patch 1065 BLAKE2B 16e66f28b0b1bd68b28bafd91ff83fd72d295ff52fa53420ec4a9be31ae66c4b0f4e515b8c62feba616cd6d3650af30566c97f157dec469f2f3de5e584eb0b7f SHA512 94c34e96b9d6ee75599be33bb246ac21a41763f51dc59255632273f8d46d0553f275c9e888615adda93047ab65eeb577dab64a5153c1cb3155c27f9618c0c961 -DIST websockets-10.3.gh.tar.gz 304375 BLAKE2B db6075304613ff74ad5928a0c57e90a7d418ac0b9532adba4c6a17b3c3f1982cc94db8ac4c0da5f65343a915f3b2e7ccedce4e6d5d4960cb72fc93c3db6e041c SHA512 75a11dd7605808954c5f59decda5b115db73de96ed4023d8d7ee3c9966551a9ded2d771f76b086c76f49b0787f19349dadcd9010eb5fea8eeddf3d9bba1c6cbb DIST websockets-10.4.gh.tar.gz 309611 BLAKE2B f3a739368ff9d78fef79324af59d1e77b3fb654b8b1a847373a29f19b11ae9266b9a938d235ee27d12b59d9b4cf29825fc7298ff2f35e5b260df2c7a41a1bd78 SHA512 087b1920ff26e21b8d3b80b53249d44b841fc45a4992df1ad725112404f724a41aaa2d759a2bd521dfe337459f8bf0d2ae048c423489f527c68f6825f928b582 -EBUILD websockets-10.3.ebuild 871 BLAKE2B b97e0aee91257ce1bb254f0e81017bc49d488d332d6206ad3dd9a429218f6d7f9ba0d185b6bc59160f638a4e0d1b81caa046e70afa9829bd3f615a1006f420c6 SHA512 d25050228fe2fcffad26943fa4b54e4cefedb73e4894cdab4e301e5f5d942e53edb769daa7cea808e09c29c85f0da202f52fa209339dd6ada1e87e56a2682154 EBUILD websockets-10.4.ebuild 826 BLAKE2B 833a8296c12a422eb528f95875719a2de8e0f033176bf36a56161bcc411fe7b6521726d7a70910bc6a076bcebd3991f7f3df34f4efd579d116d34bf4a74838d5 SHA512 6aabf8dc9553c755103be18f76452c797fc4951735973d1ee7a92932b602ba870736096ca2e259af4f5638de02bf3d58b860bc944c978aad2179024751fe0227 MISC metadata.xml 488 BLAKE2B 06ed81aa4ffa49d1951a8ef639752bc701d798fa531737d4cb367ca198e65178f430d6b1e7f3b24ffcc332343dd58a0cc8ff5f2632a225e6c0f36ee50148aebd SHA512 8335bde47d396c018b32db406e18636edd7f3fe5704c901888d56690ec726aeb7d6f9e42fb7dbb1869c78b494c9cbc17ded3ca78b7576d6fdc0a8097bf996f60 diff --git a/dev-python/websockets/files/websockets-10.3-py311.patch b/dev-python/websockets/files/websockets-10.3-py311.patch deleted file mode 100644 index d15eb2d32f81..000000000000 --- a/dev-python/websockets/files/websockets-10.3-py311.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/tests/legacy/test_client_server.py b/tests/legacy/test_client_server.py -index f9de70c..05070c8 100644 ---- a/tests/legacy/test_client_server.py -+++ b/tests/legacy/test_client_server.py -@@ -426,6 +426,10 @@ class CommonClientServerTests: - self.used_for_read = True - return super().recv(*args, **kwargs) - -+ def recv_into(self, *args, **kwargs): -+ self.used_for_read = True -+ return super().recv_into(*args, **kwargs) -+ - def send(self, *args, **kwargs): - self.used_for_write = True - return super().send(*args, **kwargs) -@@ -1299,6 +1303,8 @@ class ClientServerOriginTests(ClientServerTestsMixin, AsyncioTestCase): - self.assertEqual(self.loop.run_until_complete(self.client.recv()), "Hello!") - - -+@unittest.skipIf(sys.version_info[:2] >= (3, 11), -+ "asyncio.coroutine has been removed in Python 3.11") - class YieldFromTests(ClientServerTestsMixin, AsyncioTestCase): - @with_server() - def test_client(self): diff --git a/dev-python/websockets/websockets-10.3.ebuild b/dev-python/websockets/websockets-10.3.ebuild deleted file mode 100644 index d71d754cb413..000000000000 --- a/dev-python/websockets/websockets-10.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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 - -PATCHES=( - "${FILESDIR}/${P}-py311.patch" -) - -python_test() { - local EPYTEST_DESELECT=( - # very fragile to speed - tests/legacy/test_protocol.py::ServerTests::test_local_close_receive_close_frame_timeout - ) - - epytest tests -} |