From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio-websocket/
Date: Mon, 17 Feb 2025 20:47:15 +0000 (UTC) [thread overview]
Message-ID: <1739825215.7be0e1b07d53ff0350d160d34827d2bc7c680024.mgorny@gentoo> (raw)
commit: 7be0e1b07d53ff0350d160d34827d2bc7c680024
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 14:35:03 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 20:46:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be0e1b0
dev-python/trio-websocket: Bump to 0.12.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/trio-websocket/Manifest | 1 +
.../trio-websocket/trio-websocket-0.12.0.ebuild | 56 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest
index fe2bbffe906f..5c7cab56e16c 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/trio-websocket/trio-websocket-0.12.0.ebuild b/dev-python/trio-websocket/trio-websocket-0.12.0.ebuild
new file mode 100644
index 000000000000..b81e48c07229
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.12.0.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
+}
next reply other threads:[~2025-02-17 20:47 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 20:47 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-15 12:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/trio-websocket/ Michał Górny
2025-03-15 12:16 Arthur Zamarin
2025-02-18 7:35 Michał Górny
2024-06-19 17:21 Michał Górny
2024-06-19 17:21 Michał Górny
2023-10-14 18:43 Michał Górny
2023-10-14 16:52 Arthur Zamarin
2023-09-27 7:18 Michał Górny
2023-09-07 3:19 Michał Górny
2023-07-23 8:28 Michał Górny
2023-07-20 10:16 WANG Xuerui
2023-07-10 1:29 Michał Górny
2023-07-09 16:52 Arthur Zamarin
2023-06-08 10:21 Michał Górny
2023-04-28 16:00 Arthur Zamarin
2023-04-28 15:57 Arthur Zamarin
2023-04-28 15:55 Arthur Zamarin
2023-04-28 15:24 Arthur Zamarin
2023-04-28 15:07 Arthur Zamarin
2023-04-28 14:52 Arthur Zamarin
2023-04-28 14:49 Arthur Zamarin
2023-04-08 6:08 Michał Górny
2023-03-31 18:05 Sam James
2023-03-31 16:14 Sam James
2023-03-19 19:03 Michał Górny
2023-03-19 4:13 Michał Górny
2023-03-14 6:11 Michał Górny
2023-03-10 8:48 Yixun Lan
2023-03-10 7:49 Arthur Zamarin
2023-03-10 2:00 Sam James
2023-03-10 2:00 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739825215.7be0e1b07d53ff0350d160d34827d2bc7c680024.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox