Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio/, profiles/features/wd40/
Date: Wed, 28 Sep 2022 11:45:39
Message-Id: 1664365510.ee23fb4365bb824ce2363b72d2b816e43562ea72.andrewammerlaan@gentoo
1 commit: ee23fb4365bb824ce2363b72d2b816e43562ea72
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 28 11:45:10 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 11:45:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee23fb43
7
8 dev-python/trio: add 0.22.0
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/trio/Manifest | 1 +
13 dev-python/trio/trio-0.22.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++
14 profiles/features/wd40/package.mask | 1 +
15 3 files changed, 70 insertions(+)
16
17 diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
18 index e0e21672d738..719ae9d2c64e 100644
19 --- a/dev-python/trio/Manifest
20 +++ b/dev-python/trio/Manifest
21 @@ -1 +1,2 @@
22 DIST trio-0.21.0.gh.tar.gz 491228 BLAKE2B e5f65d3aa9e4bc0c449e3986048d63fe3001a2eee96dbe5d8c088e0fce786b1d50861b47170baa7cced097938b16c92f0efd51518404a5e0ea6a17a48d656823 SHA512 383b11f264ddf4c78eb75829472826ebacf32d063790e8d4681d5df2f21c4f9287884db1752fd19976b674643adf7299816d4404e3032193ef90f522ad9cfa79
23 +DIST trio-0.22.0.gh.tar.gz 517482 BLAKE2B ab1fcb22d8f0ed9c8de831a9384b55ab433811863974cb767cb0ea4eb3a0df7372b5ea2c2d4c2af3ca1d3c8c3144d5546ad8cc68276b17ecb3d20ea1858ba9e0 SHA512 45b813d6cc65f8d49f70cb0ea7f33593fed0cc5989c60ba449f0b38c4759604aa7360cd016758fd364438b92516be549edf1efd583c7f5ee2de8813334f182bc
24
25 diff --git a/dev-python/trio/trio-0.22.0.ebuild b/dev-python/trio/trio-0.22.0.ebuild
26 new file mode 100644
27 index 000000000000..0762903a78dd
28 --- /dev/null
29 +++ b/dev-python/trio/trio-0.22.0.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2022 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_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Python library for async concurrency and I/O"
42 +HOMEPAGE="
43 + https://github.com/python-trio/trio/
44 + https://pypi.org/project/trio/
45 +"
46 +SRC_URI="
47 + https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="|| ( Apache-2.0 MIT )"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
54 +
55 +RDEPEND="
56 + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
57 + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
58 + >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
59 + dev-python/idna[${PYTHON_USEDEP}]
60 + dev-python/outcome[${PYTHON_USEDEP}]
61 + dev-python/sniffio[${PYTHON_USEDEP}]
62 + dev-python/sortedcontainers[${PYTHON_USEDEP}]
63 +"
64 +# NB: we're ignoring tests that require pyopenssl
65 +BDEPEND="
66 + test? (
67 + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
68 + >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
69 + dev-python/trustme[${PYTHON_USEDEP}]
70 + )
71 +"
72 +
73 +distutils_enable_tests pytest
74 +distutils_enable_sphinx docs/source \
75 + dev-python/immutables \
76 + dev-python/sphinxcontrib-trio \
77 + dev-python/sphinx_rtd_theme \
78 + dev-python/towncrier
79 +
80 +python_test() {
81 + local EPYTEST_IGNORE=(
82 + # these tests require internet access
83 + trio/tests/test_ssl.py
84 + trio/tests/test_highlevel_ssl_helpers.py
85 + )
86 +
87 + local EPYTEST_DESELECT=(
88 + # Times out on slower arches (ia64 in this case)
89 + # https://github.com/python-trio/trio/issues/1753
90 + trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
91 +
92 + # incompatible ipython version?
93 + trio/_core/tests/test_multierror.py::test_ipython_exc_handler
94 + )
95 +
96 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
97 + epytest -m "not redistributors_should_skip"
98 +}
99
100 diff --git a/profiles/features/wd40/package.mask b/profiles/features/wd40/package.mask
101 index 9e34df407953..73cf842b502d 100644
102 --- a/profiles/features/wd40/package.mask
103 +++ b/profiles/features/wd40/package.mask
104 @@ -50,6 +50,7 @@ dev-python/spur
105 dev-python/sshtunnel
106 dev-python/tempest
107 dev-python/trustme
108 +>=dev-python/trio-0.22.0
109 dev-python/twine
110 dev-python/watchfiles
111 dev-ros/roswtf