From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1719014-garchives=archives.gentoo.org@lists.gentoo.org> Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id EDC921582EF for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 07:36:11 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D9F203430CA for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 07:36:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 02906110474; Tue, 18 Feb 2025 07:36:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id F1911110474 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 07:36:02 +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 A35F9343061 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 07:36:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCF78273E for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 07:35:59 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1739864147.ace5e9c217eab226a10b5a8c90bd14a6b2952f47.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio-websocket/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/trio-websocket/Manifest dev-python/trio-websocket/trio-websocket-0.12.1.ebuild X-VCS-Directories: dev-python/trio-websocket/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ace5e9c217eab226a10b5a8c90bd14a6b2952f47 X-VCS-Branch: master Date: Tue, 18 Feb 2025 07:35:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 55eb1f7b-f806-4644-ac63-90b0376574e1 X-Archives-Hash: 90b69428ab260157a373d49168d7b177 commit: ace5e9c217eab226a10b5a8c90bd14a6b2952f47 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Feb 18 06:35:13 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 18 07:35:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace5e9c2 dev-python/trio-websocket: Bump to 0.12.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/trio-websocket/Manifest | 1 + .../trio-websocket/trio-websocket-0.12.1.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest index 5c7cab56e16c..687f3c0ab8d0 100644 --- a/dev-python/trio-websocket/Manifest +++ b/dev-python/trio-websocket/Manifest @@ -1,2 +1,3 @@ DIST trio-websocket-0.11.1.gh.tar.gz 45682 BLAKE2B 0f926421828476c9e23cf962df7a17a2cf4470e0898dddbc4690497521205ea11973a188ca460685739d08c34be237682b0bbbbe2c279d35e5c2fdce9b3ce020 SHA512 4b0eb6f0c012cefedb69b97e9452ba979336fbe9f154799c4c68871b8013e728374e4872a2343ab4d27fa6e25e40c3063e681e80470123d37f13f531be4f6644 DIST trio-websocket-0.12.0.gh.tar.gz 52237 BLAKE2B 1577162f36fe7e22fe7618f5895876dff0af4ed84bc7cb34975aa291390be48df322ab79cce1c04aa9a67f1b1c8578a1988ba7b49a8208a11fde68ec0cc678a8 SHA512 f1c166a075f9b5b63ea36216b2f138fb9fbb4b60f8d23bf3dc85899d02a9f6e59439c2c7a18194fc05837b4f986206b9140f1b59cfc5061ed5667c1dad32455b +DIST trio-websocket-0.12.1.gh.tar.gz 52699 BLAKE2B 01823d61a633339a89ed5295d2a82c842ff6e46ebf27cc3e99e7136e3d12458f22d2ce088f6389b10609528a3bc7685b1de440c6f188e23eec53fa40ee13226b SHA512 5b7b3f696f241e341e8a0217ddd3395c281a7e4ddc6dfcf3106333df50777af12fe63e55035e29bdfce306b16af680d0f648058d86ea7bf53d5f9adefc0beb0c diff --git a/dev-python/trio-websocket/trio-websocket-0.12.1.ebuild b/dev-python/trio-websocket/trio-websocket-0.12.1.ebuild new file mode 100644 index 000000000000..b81e48c07229 --- /dev/null +++ b/dev-python/trio-websocket/trio-websocket-0.12.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="WebSocket client and server implementation for Python Trio" +HOMEPAGE=" + https://github.com/python-trio/trio-websocket/ + https://pypi.org/project/trio-websocket/ +" +SRC_URI=" + https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/trio-0.11[${PYTHON_USEDEP}] + >=dev-python/wsproto-0.14[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # exception tests are broken with trio-0.25 + # https://github.com/python-trio/trio-websocket/issues/187 + tests/test_connection.py::test_handshake_exception_before_accept + tests/test_connection.py::test_reject_handshake + tests/test_connection.py::test_reject_handshake_invalid_info_status + tests/test_connection.py::test_client_open_timeout + tests/test_connection.py::test_client_close_timeout + tests/test_connection.py::test_client_connect_networking_error + tests/test_connection.py::test_finalization_dropped_exception + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p trio +}