Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio-websocket/
Date: Sun, 19 Mar 2023 19:03:49
Message-Id: 1679252621.6ed79945dadf4ce5410039d0df50afbeb52b3815.mgorny@gentoo
1 commit: 6ed79945dadf4ce5410039d0df50afbeb52b3815
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 17:46:49 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 19:03:41 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed79945
7
8 dev-python/trio-websocket: Bump to 0.10.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/trio-websocket/Manifest | 1 +
13 .../trio-websocket/trio-websocket-0.10.2.ebuild | 42 ++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest
17 index 2347ad7960d0..6a2587b157a1 100644
18 --- a/dev-python/trio-websocket/Manifest
19 +++ b/dev-python/trio-websocket/Manifest
20 @@ -1,2 +1,3 @@
21 DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9 SHA512 04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59
22 DIST trio-websocket-0.10.1.gh.tar.gz 44657 BLAKE2B c7e895c5beccf40baa8603f1e3c62396e4d8c716d9a51b6977c0854f65b4c40a1edb40812f80d55f0530c2e59f10f27f2b62f72a6fb91c693ae0d67aeff3161c SHA512 bd26d72c5de70d8176b62c950e6c2bf6cf47ed5a55bb63f88e675a9d353076be45f45387da8fa9af71b8915d93914844f2a7a662351e4776c4714734512bdd7c
23 +DIST trio-websocket-0.10.2.gh.tar.gz 45025 BLAKE2B cc80f7b8e06bb88bef69c6326dd899a27523ea70e0ea10c8b02a26498102638c569ffe21e2b4e355f9c635d60ae8ae34664d311bf5fe286456e43e0f9c2ba481 SHA512 ad8d4facb153b59597ca7dac14dabe60ac8ca4331aa72df8120e01ec726e1f392a8167d070f72534eb735b5dbf4afe46e385c0e3a2dd250afa2280c6a5a0c863
24
25 diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
26 new file mode 100644
27 index 000000000000..b95a0f2797fc
28 --- /dev/null
29 +++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
30 @@ -0,0 +1,42 @@
31 +# Copyright 2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( pypy3 python3_{9..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="WebSocket client and server implementation for Python Trio"
42 +HOMEPAGE="
43 + https://github.com/HyperionGray/trio-websocket/
44 + https://pypi.org/project/trio-websocket/
45 +"
46 +SRC_URI="
47 + https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
54 +
55 +RDEPEND="
56 + dev-python/exceptiongroup[${PYTHON_USEDEP}]
57 + >=dev-python/trio-0.11[${PYTHON_USEDEP}]
58 + >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + test? (
62 + >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
63 + dev-python/trustme[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests pytest
68 +
69 +python_test() {
70 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
71 + epytest -p trio
72 +}