From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B480C15ACFC for ; Sat, 29 Apr 2023 05:48:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5F4DE089E; Sat, 29 Apr 2023 05:48:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7767E089E for ; Sat, 29 Apr 2023 05:48:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3FD4340FCC for ; Sat, 29 Apr 2023 05:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AD5FA58 for ; Sat, 29 Apr 2023 05:48:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1682747300.b12a6a7f92c676530c76e658c6e59e50802534c3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/websockets/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/websockets/Manifest dev-python/websockets/metadata.xml dev-python/websockets/websockets-11.0.2.ebuild X-VCS-Directories: dev-python/websockets/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b12a6a7f92c676530c76e658c6e59e50802534c3 X-VCS-Branch: master Date: Sat, 29 Apr 2023 05:48:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eb19e79c-a254-420d-896d-08effdbfe1ee X-Archives-Hash: 9e7a1099aae6a7a2432cd5a65584232c commit: b12a6a7f92c676530c76e658c6e59e50802534c3 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 29 05:33:19 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 29 05:48:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12a6a7f dev-python/websockets: Bump to 11.0.2 Signed-off-by: Michał Górny gentoo.org> dev-python/websockets/Manifest | 1 + dev-python/websockets/metadata.xml | 2 +- dev-python/websockets/websockets-11.0.2.ebuild | 42 ++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index e5884ca0f766..56e0be59a9a8 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,3 +1,4 @@ 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.gh.tar.gz 347307 BLAKE2B b40b8e88375a1e5e0f6ae1c73169703d206800dcec15d858a0360374701b681ec17c457b014a29dc34962ca1f62261a8b8298e34092429864d790dd4a060e8d8 SHA512 367347464d5d721ad65055743df92311e7d98d0391ff437ab8c3224f1c1e4193b5abbdbf1498cd040d9b30251e6bc051e9c1ec54122b87e4c937026e0f6f3b8e diff --git a/dev-python/websockets/metadata.xml b/dev-python/websockets/metadata.xml index 65f11910b1a7..15cd4b0338d9 100644 --- a/dev-python/websockets/metadata.xml +++ b/dev-python/websockets/metadata.xml @@ -10,7 +10,7 @@ Python - aaugustin/websockets + python-websockets/websockets websockets diff --git a/dev-python/websockets/websockets-11.0.2.ebuild b/dev-python/websockets/websockets-11.0.2.ebuild new file mode 100644 index 000000000000..f3ef9af590b3 --- /dev/null +++ b/dev-python/websockets/websockets-11.0.2.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 +}