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/
Date: Wed, 08 Jun 2022 05:35:35
Message-Id: 1654666490.f676c1f1cdb05d864b4c7b7df61defbfe2ae53f4.mgorny@gentoo
1 commit: f676c1f1cdb05d864b4c7b7df61defbfe2ae53f4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 8 04:39:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 8 05:34:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f676c1f1
7
8 dev-python/trio: Bump to 0.21.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/trio/Manifest | 1 +
13 dev-python/trio/trio-0.21.0.ebuild | 66 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
17 index b15fbda9fd41..061047fccaa6 100644
18 --- a/dev-python/trio/Manifest
19 +++ b/dev-python/trio/Manifest
20 @@ -1 +1,2 @@
21 DIST trio-0.20.0.tar.gz 491254 BLAKE2B 354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5 SHA512 9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c
22 +DIST trio-0.21.0.gh.tar.gz 491228 BLAKE2B e5f65d3aa9e4bc0c449e3986048d63fe3001a2eee96dbe5d8c088e0fce786b1d50861b47170baa7cced097938b16c92f0efd51518404a5e0ea6a17a48d656823 SHA512 383b11f264ddf4c78eb75829472826ebacf32d063790e8d4681d5df2f21c4f9287884db1752fd19976b674643adf7299816d4404e3032193ef90f522ad9cfa79
23
24 diff --git a/dev-python/trio/trio-0.21.0.ebuild b/dev-python/trio/trio-0.21.0.ebuild
25 new file mode 100644
26 index 000000000000..6fc1ee37808f
27 --- /dev/null
28 +++ b/dev-python/trio/trio-0.21.0.ebuild
29 @@ -0,0 +1,66 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python library for async concurrency and I/O"
41 +HOMEPAGE="
42 + https://github.com/python-trio/trio/
43 + https://pypi.org/project/trio/
44 +"
45 +SRC_URI="
46 + https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="|| ( Apache-2.0 MIT )"
51 +SLOT="0"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
53 +
54 +RDEPEND="
55 + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
56 + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
57 + dev-python/idna[${PYTHON_USEDEP}]
58 + dev-python/outcome[${PYTHON_USEDEP}]
59 + dev-python/sniffio[${PYTHON_USEDEP}]
60 + dev-python/sortedcontainers[${PYTHON_USEDEP}]
61 +"
62 +# NB: we're ignoring tests that require trustme+pyopenssl
63 +BDEPEND="
64 + test? (
65 + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
66 + >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +distutils_enable_tests pytest
71 +distutils_enable_sphinx docs/source \
72 + dev-python/immutables \
73 + dev-python/sphinxcontrib-trio \
74 + dev-python/sphinx_rtd_theme \
75 + dev-python/towncrier
76 +
77 +python_test() {
78 + local EPYTEST_IGNORE=(
79 + # these tests require internet access
80 + trio/tests/test_ssl.py
81 + trio/tests/test_highlevel_ssl_helpers.py
82 + )
83 +
84 + local EPYTEST_DESELECT=(
85 + # Times out on slower arches (ia64 in this case)
86 + # https://github.com/python-trio/trio/issues/1753
87 + trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
88 +
89 + # incompatible ipython version?
90 + trio/_core/tests/test_multierror.py::test_ipython_exc_handler
91 + )
92 +
93 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
94 + epytest -m "not redistributors_should_skip"
95 +}