dev-python/trio-websocket: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-03-15 13:22:34 +01:00
parent 4ec4c9fab2
commit 4d2ff1fd2a
3 changed files with 0 additions and 114 deletions

View File

@@ -1,3 +1 @@
DIST trio-websocket-0.11.1.gh.tar.gz 45682 BLAKE2B 0f926421828476c9e23cf962df7a17a2cf4470e0898dddbc4690497521205ea11973a188ca460685739d08c34be237682b0bbbbe2c279d35e5c2fdce9b3ce020 SHA512 4b0eb6f0c012cefedb69b97e9452ba979336fbe9f154799c4c68871b8013e728374e4872a2343ab4d27fa6e25e40c3063e681e80470123d37f13f531be4f6644
DIST trio-websocket-0.12.1.gh.tar.gz 52699 BLAKE2B 01823d61a633339a89ed5295d2a82c842ff6e46ebf27cc3e99e7136e3d12458f22d2ce088f6389b10609528a3bc7685b1de440c6f188e23eec53fa40ee13226b SHA512 5b7b3f696f241e341e8a0217ddd3395c281a7e4ddc6dfcf3106333df50777af12fe63e55035e29bdfce306b16af680d0f648058d86ea7bf53d5f9adefc0beb0c
DIST trio-websocket-0.12.2.gh.tar.gz 52738 BLAKE2B d20f159c5596d6a784d08f5010fc0d08aab254005abb15d8f6829923750b53327aabf77a072b428edfdac27647d6a170e595660ebeadce1d62dd5f6bd5ff5739 SHA512 220ecac499de12c77f4004c739154380ad8dd05570e43512549d9205515f7d9dd7aa085248b1373fae0c690bd1ce7df757332abb5fe6edfbe2ee74c33834ef49

View File

@@ -1,56 +0,0 @@
# 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
}

View File

@@ -1,56 +0,0 @@
# 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
}