Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/
Date: Tue, 25 May 2021 08:10:18
Message-Id: 1621930010.05db583017988f5c8f5f7cb6e6fcf2469634242e.cybertailor@gentoo
1 commit: 05db583017988f5c8f5f7cb6e6fcf2469634242e
2 Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Mon May 24 19:29:12 2021 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Tue May 25 08:06:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05db5830
7
8 dev-python/anyio: drop 2.1.0, 3.0.0
9
10 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/anyio/Manifest | 2 --
13 dev-python/anyio/anyio-2.1.0.ebuild | 64 -------------------------------------
14 dev-python/anyio/anyio-3.0.0.ebuild | 61 -----------------------------------
15 3 files changed, 127 deletions(-)
16
17 diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
18 index 5472257b5..dee63a578 100644
19 --- a/dev-python/anyio/Manifest
20 +++ b/dev-python/anyio/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST anyio-2.1.0.tar.gz 95186 BLAKE2B 5dcb110e0e3d543525bb5081c948124e0e0f6bb0a80038104a8ab793ecf961a56d56576ad96a78b0fb69f3c7731dea3d9573b757f859ee8e61e65490432b9b69 SHA512 923467cdfbf6d0f427345704e99aec44cafc21f78a8b3b88d1ca9be93fb52a77d472229a242664977a873faf05c7c47a44a55aa4d0158959f60bf4ac8a46cdeb
23 DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de SHA512 bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab
24 -DIST anyio-3.0.0.tar.gz 116952 BLAKE2B d797afbd372d7e0ba3b9b5cd0c7df6d8c8a91e8616aa9af9abf6c7e20cb940592a50d6534eed63619c7a4ead5e431ba12238a0e8b78cc00949b0944012d687e8 SHA512 e677506cb5edfa86381a6e309fd6c1393d4280d3b31e2382b4adef1aef08b678a2418cbf669e9c5607f855066e72fdb9b3dbd196db10aa42a7ef6445ea737fbd
25 DIST anyio-3.0.1.tar.gz 117725 BLAKE2B 9e9eb02e2891c59a82015db9a6be6e8d4e17dbca10dd72d4510572e11d88687fcbc0f3de571d7c58643cf9191591e655693c58ce73ce45fb1ea1b06e8a0dc5ec SHA512 e063727824c3cd53f4de4bf128a8b6b355b582ed7df533fb73a3306b1e561c096ecea24c6abb367a557516b1470e4f5122458a64f6c03257e4e54452cc5c84e1
26
27 diff --git a/dev-python/anyio/anyio-2.1.0.ebuild b/dev-python/anyio/anyio-2.1.0.ebuild
28 deleted file mode 100644
29 index c5e3308e9..000000000
30 --- a/dev-python/anyio/anyio-2.1.0.ebuild
31 +++ /dev/null
32 @@ -1,64 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7,8,9} )
39 -
40 -# Build with USE="-doc" first because of circular dependency
41 -# otherwise one gets the error that sphinx-autodoc-typehints
42 -# does not support py3.9
43 -# DOCS_BUILDER="sphinx"
44 -# DOCS_DIR="docs"
45 -# DOCS_DEPEND="
46 -# dev-python/anyio
47 -# >=dev-python/sphinx-autodoc-typehints-1.2.0
48 -# dev-python/sphinx_rtd_theme
49 -# "
50 -# DOCS_AUTODOC=1
51 -
52 -inherit distutils-r1 #docs
53 -
54 -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
55 -HOMEPAGE="
56 - https://github.com/agronholm/anyio
57 - https://pypi.org/project/anyio
58 -"
59 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
60 -
61 -LICENSE="MIT"
62 -SLOT="0"
63 -KEYWORDS="~amd64"
64 -
65 -# This is a mess
66 -RESTRICT="test"
67 -
68 -RDEPEND="
69 - >=dev-python/curio-1.4[${PYTHON_USEDEP}]
70 - >=dev-python/idna-2.8[${PYTHON_USEDEP}]
71 - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
72 - >=dev-python/trio-0.16[${PYTHON_USEDEP}]
73 - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7)
74 -"
75 -
76 -BDEPEND="
77 - ${RDEPEND}
78 - test? (
79 - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
80 - >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
81 - dev-python/trustme[${PYTHON_USEDEP}]
82 - dev-python/uvloop[${PYTHON_USEDEP}]
83 - )
84 -"
85 -
86 -distutils_enable_tests pytest
87 -
88 -python_test() {
89 - distutils_install_for_testing
90 - pytest -vv \
91 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio] \
92 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
93 - --deselect tests/test_sockets.py::test_getaddrinfo[curio] \
94 - --deselect tests/test_sockets.py::test_getaddrinfo[trio] \
95 - || die
96 -}
97
98 diff --git a/dev-python/anyio/anyio-3.0.0.ebuild b/dev-python/anyio/anyio-3.0.0.ebuild
99 deleted file mode 100644
100 index f74abd408..000000000
101 --- a/dev-python/anyio/anyio-3.0.0.ebuild
102 +++ /dev/null
103 @@ -1,61 +0,0 @@
104 -# Copyright 1999-2021 Gentoo Authors
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI=7
108 -
109 -PYTHON_COMPAT=( python3_{7,8} )
110 -
111 -# Build with USE="-doc" first because of circular dependency
112 -# otherwise one gets the error that sphinx-autodoc-typehints
113 -
114 -DOCS_BUILDER="sphinx"
115 -DOCS_DIR="docs"
116 -DOCS_AUTODOC=1
117 -
118 -inherit distutils-r1 docs
119 -
120 -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
121 -HOMEPAGE="
122 - https://github.com/agronholm/anyio
123 - https://pypi.org/project/anyio
124 -"
125 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
126 -
127 -LICENSE="MIT"
128 -SLOT="0"
129 -KEYWORDS="~amd64"
130 -
131 -RDEPEND="
132 - >=dev-python/curio-1.4[${PYTHON_USEDEP}]
133 - >=dev-python/idna-2.8[${PYTHON_USEDEP}]
134 - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
135 - >=dev-python/trio-0.16[${PYTHON_USEDEP}]
136 - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7)
137 -"
138 -
139 -BDEPEND="
140 - ${RDEPEND}
141 - doc? (
142 - dev-python/anyio[${PYTHON_USEDEP}]
143 - >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
144 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
145 - )
146 - test? (
147 - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
148 - >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
149 - dev-python/trustme[${PYTHON_USEDEP}]
150 - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
151 - )
152 -"
153 -
154 -distutils_enable_tests pytest
155 -
156 -python_test() {
157 - distutils_install_for_testing
158 - pytest -vv \
159 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio] \
160 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
161 - --deselect tests/test_sockets.py::test_getaddrinfo[curio] \
162 - --deselect tests/test_sockets.py::test_getaddrinfo[trio] \
163 - || die
164 -}