Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/
Date: Thu, 10 Jun 2021 10:03:06
Message-Id: 1623319380.9bbe284ae94ade4830e331e959cc2af87d8a397a.andrewammerlaan@gentoo
1 commit: 9bbe284ae94ade4830e331e959cc2af87d8a397a
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 08:28:05 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 10:03:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bbe284a
7
8 dev-python/anyio: move to ::gentoo
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/anyio/Manifest | 2 --
13 dev-python/anyio/anyio-2.2.0.ebuild | 61 -------------------------------------
14 dev-python/anyio/anyio-3.0.1.ebuild | 61 -------------------------------------
15 dev-python/anyio/metadata.xml | 33 --------------------
16 4 files changed, 157 deletions(-)
17
18 diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
19 deleted file mode 100644
20 index dee63a578..000000000
21 --- a/dev-python/anyio/Manifest
22 +++ /dev/null
23 @@ -1,2 +0,0 @@
24 -DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de SHA512 bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab
25 -DIST anyio-3.0.1.tar.gz 117725 BLAKE2B 9e9eb02e2891c59a82015db9a6be6e8d4e17dbca10dd72d4510572e11d88687fcbc0f3de571d7c58643cf9191591e655693c58ce73ce45fb1ea1b06e8a0dc5ec SHA512 e063727824c3cd53f4de4bf128a8b6b355b582ed7df533fb73a3306b1e561c096ecea24c6abb367a557516b1470e4f5122458a64f6c03257e4e54452cc5c84e1
26
27 diff --git a/dev-python/anyio/anyio-2.2.0.ebuild b/dev-python/anyio/anyio-2.2.0.ebuild
28 deleted file mode 100644
29 index f74abd408..000000000
30 --- a/dev-python/anyio/anyio-2.2.0.ebuild
31 +++ /dev/null
32 @@ -1,61 +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} )
39 -
40 -# Build with USE="-doc" first because of circular dependency
41 -# otherwise one gets the error that sphinx-autodoc-typehints
42 -
43 -DOCS_BUILDER="sphinx"
44 -DOCS_DIR="docs"
45 -DOCS_AUTODOC=1
46 -
47 -inherit distutils-r1 docs
48 -
49 -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
50 -HOMEPAGE="
51 - https://github.com/agronholm/anyio
52 - https://pypi.org/project/anyio
53 -"
54 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
55 -
56 -LICENSE="MIT"
57 -SLOT="0"
58 -KEYWORDS="~amd64"
59 -
60 -RDEPEND="
61 - >=dev-python/curio-1.4[${PYTHON_USEDEP}]
62 - >=dev-python/idna-2.8[${PYTHON_USEDEP}]
63 - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
64 - >=dev-python/trio-0.16[${PYTHON_USEDEP}]
65 - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7)
66 -"
67 -
68 -BDEPEND="
69 - ${RDEPEND}
70 - doc? (
71 - dev-python/anyio[${PYTHON_USEDEP}]
72 - >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
73 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
74 - )
75 - test? (
76 - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
77 - >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
78 - dev-python/trustme[${PYTHON_USEDEP}]
79 - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
80 - )
81 -"
82 -
83 -distutils_enable_tests pytest
84 -
85 -python_test() {
86 - distutils_install_for_testing
87 - pytest -vv \
88 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio] \
89 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
90 - --deselect tests/test_sockets.py::test_getaddrinfo[curio] \
91 - --deselect tests/test_sockets.py::test_getaddrinfo[trio] \
92 - || die
93 -}
94
95 diff --git a/dev-python/anyio/anyio-3.0.1.ebuild b/dev-python/anyio/anyio-3.0.1.ebuild
96 deleted file mode 100644
97 index f74abd408..000000000
98 --- a/dev-python/anyio/anyio-3.0.1.ebuild
99 +++ /dev/null
100 @@ -1,61 +0,0 @@
101 -# Copyright 1999-2021 Gentoo Authors
102 -# Distributed under the terms of the GNU General Public License v2
103 -
104 -EAPI=7
105 -
106 -PYTHON_COMPAT=( python3_{7,8} )
107 -
108 -# Build with USE="-doc" first because of circular dependency
109 -# otherwise one gets the error that sphinx-autodoc-typehints
110 -
111 -DOCS_BUILDER="sphinx"
112 -DOCS_DIR="docs"
113 -DOCS_AUTODOC=1
114 -
115 -inherit distutils-r1 docs
116 -
117 -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
118 -HOMEPAGE="
119 - https://github.com/agronholm/anyio
120 - https://pypi.org/project/anyio
121 -"
122 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
123 -
124 -LICENSE="MIT"
125 -SLOT="0"
126 -KEYWORDS="~amd64"
127 -
128 -RDEPEND="
129 - >=dev-python/curio-1.4[${PYTHON_USEDEP}]
130 - >=dev-python/idna-2.8[${PYTHON_USEDEP}]
131 - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
132 - >=dev-python/trio-0.16[${PYTHON_USEDEP}]
133 - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7)
134 -"
135 -
136 -BDEPEND="
137 - ${RDEPEND}
138 - doc? (
139 - dev-python/anyio[${PYTHON_USEDEP}]
140 - >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
141 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
142 - )
143 - test? (
144 - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
145 - >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
146 - dev-python/trustme[${PYTHON_USEDEP}]
147 - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
148 - )
149 -"
150 -
151 -distutils_enable_tests pytest
152 -
153 -python_test() {
154 - distutils_install_for_testing
155 - pytest -vv \
156 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio] \
157 - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
158 - --deselect tests/test_sockets.py::test_getaddrinfo[curio] \
159 - --deselect tests/test_sockets.py::test_getaddrinfo[trio] \
160 - || die
161 -}
162
163 diff --git a/dev-python/anyio/metadata.xml b/dev-python/anyio/metadata.xml
164 deleted file mode 100644
165 index 1dcac0ae8..000000000
166 --- a/dev-python/anyio/metadata.xml
167 +++ /dev/null
168 @@ -1,33 +0,0 @@
169 -<?xml version='1.0' encoding='UTF-8'?>
170 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
171 -<pkgmetadata>
172 - <maintainer type="person">
173 - <email>lssndrbarbieri@×××××.com</email>
174 - <name>Alessandro Barbieri</name>
175 - </maintainer>
176 - <longdescription lang="en">
177 -AnyIO is a asynchronous compatibility API that allows applications and libraries written against it to run unmodified on asyncio, curio and trio.
178 -
179 -It bridges the following functionality:
180 -
181 -Task groups
182 -Cancellation
183 -Threads
184 -Signal handling
185 -Asynchronous file I/O
186 -Subprocesses
187 -Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams)
188 -High level networking (TCP, UDP and UNIX sockets)
189 -You can even use it together with native libraries from your selected backend in applications. Doing this in libraries is not advisable however since it limits the usefulness of your library.
190 -
191 -AnyIO comes with its own pytest plugin which also supports asynchronous fixtures. It even works with the popular Hypothesis library.
192 - </longdescription>
193 - <upstream>
194 - <remote-id type="github">agronholm/anyio</remote-id>
195 - <remote-id type="pypi">anyio</remote-id>
196 - <maintainer status="unknown">
197 - <email>alex.gronholm@×××××××.fi</email>
198 - <name>Alex Grönholm</name>
199 - </maintainer>
200 - </upstream>
201 -</pkgmetadata>