1 |
commit: 8ea73be278ded742431de109572553d7aaa62e83 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 27 11:23:41 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 27 11:24:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ea73be2 |
7 |
|
8 |
dev-python/trio: move to ::gentoo |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/outcome/Manifest | 1 - |
13 |
dev-python/outcome/metadata.xml | 10 --- |
14 |
dev-python/outcome/outcome-1.1.0.ebuild | 29 --------- |
15 |
dev-python/sphinxcontrib-trio/Manifest | 1 - |
16 |
dev-python/sphinxcontrib-trio/metadata.xml | 13 ---- |
17 |
.../sphinxcontrib-trio-1.1.2.ebuild | 37 ----------- |
18 |
dev-python/trio/Manifest | 2 - |
19 |
dev-python/trio/metadata.xml | 17 ----- |
20 |
dev-python/trio/trio-0.18.0.ebuild | 69 -------------------- |
21 |
dev-python/trio/trio-0.18.0_p20210212.ebuild | 73 ---------------------- |
22 |
10 files changed, 252 deletions(-) |
23 |
|
24 |
diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest |
25 |
deleted file mode 100644 |
26 |
index 08ba4dcd8..000000000 |
27 |
--- a/dev-python/outcome/Manifest |
28 |
+++ /dev/null |
29 |
@@ -1 +0,0 @@ |
30 |
-DIST outcome-1.1.0.tar.gz 18675 BLAKE2B eef22274bb4d1ddd19fa223167b6c8ce96f015ac0b3b0609aed3717deb306087457ab068fd2466d492fcc5859d561e6d3172ad14611a937ec59a75b604565953 SHA512 65de1c0a38b8cbb041a9fc3a79518eeacea54ec87341846ae80a9a2075369f72a397f5aa747ae179eaac8f341a7e07cc1641555fbb809cc7924b2171f7f3d90e |
31 |
|
32 |
diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml |
33 |
deleted file mode 100644 |
34 |
index 305743aab..000000000 |
35 |
--- a/dev-python/outcome/metadata.xml |
36 |
+++ /dev/null |
37 |
@@ -1,10 +0,0 @@ |
38 |
-<?xml version="1.0" encoding="UTF-8"?> |
39 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
40 |
- |
41 |
-<pkgmetadata> |
42 |
- <!-- maintainer-needed --> |
43 |
- <upstream> |
44 |
- <remote-id type="github">python-trio/outcome</remote-id> |
45 |
- <remote-id type="pypi">outcome</remote-id> |
46 |
- </upstream> |
47 |
-</pkgmetadata> |
48 |
|
49 |
diff --git a/dev-python/outcome/outcome-1.1.0.ebuild b/dev-python/outcome/outcome-1.1.0.ebuild |
50 |
deleted file mode 100644 |
51 |
index 997ad3f47..000000000 |
52 |
--- a/dev-python/outcome/outcome-1.1.0.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,29 +0,0 @@ |
55 |
-# Copyright 1999-2020 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=7 |
59 |
- |
60 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
61 |
- |
62 |
-inherit distutils-r1 |
63 |
- |
64 |
-DESCRIPTION="Capture the outcome of Python function calls" |
65 |
-HOMEPAGE=" |
66 |
- https://github.com/python-trio/outcome |
67 |
- https://pypi.org/project/outcome |
68 |
-" |
69 |
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
70 |
- |
71 |
-LICENSE="|| ( Apache-2.0 MIT )" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~amd64 ~x86" |
74 |
- |
75 |
-RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]" |
76 |
- |
77 |
-BDEPEND="test? ( |
78 |
- dev-python/async_generator[${PYTHON_USEDEP}] |
79 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
80 |
-)" |
81 |
- |
82 |
-distutils_enable_tests pytest |
83 |
-distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio |
84 |
|
85 |
diff --git a/dev-python/sphinxcontrib-trio/Manifest b/dev-python/sphinxcontrib-trio/Manifest |
86 |
deleted file mode 100644 |
87 |
index 4a31a932f..000000000 |
88 |
--- a/dev-python/sphinxcontrib-trio/Manifest |
89 |
+++ /dev/null |
90 |
@@ -1 +0,0 @@ |
91 |
-DIST sphinxcontrib-trio-1.1.2.tar.gz 24131 BLAKE2B 5ddaf5ed6c85905275e206fdd966745ce4dd7296595c488864df291cb7202725ccab722f306dd9d6c27d660f5cb3e43bf9ab2fe50e8aa5a7232c2615dddbdfd0 SHA512 cb90f37f463fbdd3f810eb6d76b4bdaaabe83317de0ad747fcee55980849d691e272884ecdfcbee58851cf536f268f2520caba281d7550fe3250e92c69164434 |
92 |
|
93 |
diff --git a/dev-python/sphinxcontrib-trio/metadata.xml b/dev-python/sphinxcontrib-trio/metadata.xml |
94 |
deleted file mode 100644 |
95 |
index 7477cd58a..000000000 |
96 |
--- a/dev-python/sphinxcontrib-trio/metadata.xml |
97 |
+++ /dev/null |
98 |
@@ -1,13 +0,0 @@ |
99 |
-<?xml version="1.0" encoding="UTF-8"?> |
100 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
101 |
- |
102 |
-<pkgmetadata> |
103 |
- <!-- maintainer-needed --> |
104 |
- <longdescription lang="en"> |
105 |
-This sphinx extension helps you document Python code that uses async/await, or abstract methods, or context managers, or generators, or … you get the idea. It works by making sphinx’s regular directives for documenting Python functions and methods smarter and more powerful. The name is because it was originally written for the Trio project, and I’m not very creative. But don’t be put off – there’s nothing Trio- or async-specific about this extension; any Python project can benefit. (Though projects using async/await probably benefit the most, since sphinx’s built-in tools are especially inadequate in this case.) |
106 |
- </longdescription> |
107 |
- <upstream> |
108 |
- <remote-id type="github">python-trio/sphinxcontrib-trio</remote-id> |
109 |
- <remote-id type="pypi">sphinxcontrib-trio</remote-id> |
110 |
- </upstream> |
111 |
-</pkgmetadata> |
112 |
|
113 |
diff --git a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild |
114 |
deleted file mode 100644 |
115 |
index fe68a474e..000000000 |
116 |
--- a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild |
117 |
+++ /dev/null |
118 |
@@ -1,37 +0,0 @@ |
119 |
-# Copyright 1999-2020 Gentoo Authors |
120 |
-# Distributed under the terms of the GNU General Public License v2 |
121 |
- |
122 |
-EAPI=7 |
123 |
- |
124 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
125 |
- |
126 |
-inherit distutils-r1 |
127 |
- |
128 |
-DESCRIPTION="Make Sphinx better at documenting Python functions and methods" |
129 |
-HOMEPAGE=" |
130 |
- https://github.com/python-trio/sphinxcontrib-trio |
131 |
- https://pypi.org/project/sphinxcontrib-trio |
132 |
-" |
133 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
134 |
- |
135 |
-LICENSE="|| ( Apache-2.0 MIT )" |
136 |
-KEYWORDS="~amd64 ~x86" |
137 |
-SLOT="0" |
138 |
- |
139 |
-RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" |
140 |
- |
141 |
-BDEPEND=" |
142 |
- test? ( |
143 |
- dev-python/async_generator[${PYTHON_USEDEP}] |
144 |
- dev-python/contextlib2[${PYTHON_USEDEP}] |
145 |
- dev-python/cssselect[${PYTHON_USEDEP}] |
146 |
- dev-python/lxml[${PYTHON_USEDEP}] |
147 |
-)" |
148 |
- |
149 |
-distutils_enable_sphinx docs/source |
150 |
-distutils_enable_tests pytest |
151 |
- |
152 |
-python_test() { |
153 |
- # disable failing test |
154 |
- epytest --deselect tests/test_sphinxcontrib_trio.py::test_end_to_end |
155 |
-} |
156 |
|
157 |
diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest |
158 |
deleted file mode 100644 |
159 |
index a148b0935..000000000 |
160 |
--- a/dev-python/trio/Manifest |
161 |
+++ /dev/null |
162 |
@@ -1,2 +0,0 @@ |
163 |
-DIST trio-0.18.0.tar.gz 484421 BLAKE2B 239cf63076f8ae2c3ea0b4c5d1b88b88e27f8d43ff85c65a6c25785d797e48746df0acffbae741ce8f5e71301b12b7fb7ce4900248db3bec375f651b8379b22b SHA512 ebed3ebee93d2dde03a5c1063b0053a885b7aef29269c0459d470c14dd5c917800a91c38304dfc505c92a32c197eb802310fee7b224beb130b920d0201f4a33e |
164 |
-DIST trio-0.18.0_p20210212.tar.gz 485725 BLAKE2B b9ba391cb98062073db3605ce16d4a6dea515678e9e3d7994addc06220c730ef86648346178fd28205ad820eee0ea596c0d799d3d4bcd530ff35ef65722457dd SHA512 ca87e6dd7ab2b1757e67520e0a3921cb609703f05ebce974af2faf789dfd9416c4ff9d56b09cd6a4c9325a0d4051491f18ba24b4b3aa65285cf9de1f0f256010 |
165 |
|
166 |
diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml |
167 |
deleted file mode 100644 |
168 |
index dcb4e4c82..000000000 |
169 |
--- a/dev-python/trio/metadata.xml |
170 |
+++ /dev/null |
171 |
@@ -1,17 +0,0 @@ |
172 |
-<?xml version="1.0" encoding="UTF-8"?> |
173 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
174 |
- |
175 |
-<pkgmetadata> |
176 |
- <!-- maintainer-needed --> |
177 |
- <longdescription lang="en"> |
178 |
-The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right. |
179 |
- |
180 |
-Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable. Trio is the Python I/O library I always wanted; I find it makes building I/O-oriented programs easier, less error-prone, and just plain more fun. Perhaps you'll find the same. |
181 |
- |
182 |
-This project is young and still somewhat experimental: the overall design is solid and the existing features are fully tested and documented, but you may encounter missing functionality or rough edges. We do encourage you to use it, but you should read and subscribe to issue #1 to get warning and a chance to give feedback about any compatibility-breaking changes. |
183 |
- </longdescription> |
184 |
- <upstream> |
185 |
- <remote-id type="github">python-trio/trio</remote-id> |
186 |
- <remote-id type="pypi">trio</remote-id> |
187 |
- </upstream> |
188 |
-</pkgmetadata> |
189 |
|
190 |
diff --git a/dev-python/trio/trio-0.18.0.ebuild b/dev-python/trio/trio-0.18.0.ebuild |
191 |
deleted file mode 100644 |
192 |
index afde57578..000000000 |
193 |
--- a/dev-python/trio/trio-0.18.0.ebuild |
194 |
+++ /dev/null |
195 |
@@ -1,69 +0,0 @@ |
196 |
-# Copyright 1999-2021 Gentoo Authors |
197 |
-# Distributed under the terms of the GNU General Public License v2 |
198 |
- |
199 |
-EAPI=7 |
200 |
- |
201 |
-PYTHON_COMPAT=( python3_{7,8} ) |
202 |
- |
203 |
-inherit distutils-r1 linux-info |
204 |
- |
205 |
-DESCRIPTION="Python library for async concurrency and I/O" |
206 |
-HOMEPAGE=" |
207 |
- https://github.com/python-trio/trio |
208 |
- https://pypi.org/project/trio |
209 |
-" |
210 |
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
211 |
- |
212 |
-LICENSE="|| ( Apache-2.0 MIT )" |
213 |
-SLOT="0" |
214 |
-KEYWORDS="~amd64" |
215 |
- |
216 |
-RDEPEND=" |
217 |
- dev-python/async_generator[${PYTHON_USEDEP}] |
218 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
219 |
- dev-python/idna[${PYTHON_USEDEP}] |
220 |
- dev-python/outcome[${PYTHON_USEDEP}] |
221 |
- dev-python/sniffio[${PYTHON_USEDEP}] |
222 |
- dev-python/sortedcontainers[${PYTHON_USEDEP}] |
223 |
-" |
224 |
-DEPEND="${RDEPEND} |
225 |
- test? ( |
226 |
- >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] |
227 |
- >=dev-python/immutables-0.6[${PYTHON_USEDEP}] |
228 |
- dev-python/ipython[${PYTHON_USEDEP}] |
229 |
- >=dev-python/jedi-0.17.0[${PYTHON_USEDEP}] |
230 |
- dev-python/pyopenssl[${PYTHON_USEDEP}] |
231 |
- dev-python/pylint[${PYTHON_USEDEP}] |
232 |
- dev-python/trustme[${PYTHON_USEDEP}] |
233 |
- dev-python/yapf[${PYTHON_USEDEP}] |
234 |
- ) |
235 |
-" |
236 |
- |
237 |
-distutils_enable_tests pytest |
238 |
-distutils_enable_sphinx docs/source \ |
239 |
- ">=dev-python/immutables-0.6" \ |
240 |
- dev-python/sphinxcontrib-trio \ |
241 |
- dev-python/sphinx_rtd_theme \ |
242 |
- dev-python/towncrier |
243 |
- |
244 |
-python_prepare_all() { |
245 |
- # Disable tests require IPv6 |
246 |
- if ! linux_config_exists || ! linux_chkconfig_present IPV6; then |
247 |
- sed -i -e "/for family in/s/, AF_INET6//" \ |
248 |
- -e "/test_getaddrinfo/i@×××××××××××.skip(reason='no IPv6')" \ |
249 |
- trio/tests/test_socket.py || die "sed failed for test_socket.py" |
250 |
- fi |
251 |
- |
252 |
- # these tests require internet access |
253 |
- rm trio/tests/test_ssl.py || die |
254 |
- rm trio/tests/test_highlevel_ssl_helpers.py || die |
255 |
- |
256 |
- distutils-r1_python_prepare_all |
257 |
-} |
258 |
- |
259 |
-python_test() { |
260 |
- # tests fail if package is already installed without this |
261 |
- PYTHONPATH="${S}" |
262 |
- cd "${S}" || die |
263 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
264 |
-} |
265 |
|
266 |
diff --git a/dev-python/trio/trio-0.18.0_p20210212.ebuild b/dev-python/trio/trio-0.18.0_p20210212.ebuild |
267 |
deleted file mode 100644 |
268 |
index 51b71e7bb..000000000 |
269 |
--- a/dev-python/trio/trio-0.18.0_p20210212.ebuild |
270 |
+++ /dev/null |
271 |
@@ -1,73 +0,0 @@ |
272 |
-# Copyright 1999-2021 Gentoo Authors |
273 |
-# Distributed under the terms of the GNU General Public License v2 |
274 |
- |
275 |
-EAPI=7 |
276 |
- |
277 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
278 |
- |
279 |
-COMMIT="ff86c6023758590a54fca9f48f5c16d2263ba31d" |
280 |
- |
281 |
-inherit distutils-r1 linux-info |
282 |
- |
283 |
-DESCRIPTION="Python library for async concurrency and I/O" |
284 |
-HOMEPAGE=" |
285 |
- https://github.com/python-trio/trio |
286 |
- https://pypi.org/project/trio |
287 |
-" |
288 |
-SRC_URI="https://github.com/python-trio/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
289 |
- |
290 |
-LICENSE="|| ( Apache-2.0 MIT )" |
291 |
-SLOT="0" |
292 |
-KEYWORDS="~amd64" |
293 |
- |
294 |
-RDEPEND=" |
295 |
- dev-python/async_generator[${PYTHON_USEDEP}] |
296 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
297 |
- dev-python/idna[${PYTHON_USEDEP}] |
298 |
- dev-python/outcome[${PYTHON_USEDEP}] |
299 |
- dev-python/sniffio[${PYTHON_USEDEP}] |
300 |
- dev-python/sortedcontainers[${PYTHON_USEDEP}] |
301 |
-" |
302 |
-DEPEND="${RDEPEND} |
303 |
- test? ( |
304 |
- >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] |
305 |
- >=dev-python/immutables-0.6[${PYTHON_USEDEP}] |
306 |
- dev-python/ipython[${PYTHON_USEDEP}] |
307 |
- >=dev-python/jedi-0.17.0[${PYTHON_USEDEP}] |
308 |
- dev-python/pyopenssl[${PYTHON_USEDEP}] |
309 |
- dev-python/pylint[${PYTHON_USEDEP}] |
310 |
- dev-python/trustme[${PYTHON_USEDEP}] |
311 |
- dev-python/yapf[${PYTHON_USEDEP}] |
312 |
- ) |
313 |
-" |
314 |
- |
315 |
-S="${WORKDIR}/${PN}-${COMMIT}" |
316 |
- |
317 |
-distutils_enable_tests pytest |
318 |
-distutils_enable_sphinx docs/source \ |
319 |
- ">=dev-python/immutables-0.6" \ |
320 |
- dev-python/sphinxcontrib-trio \ |
321 |
- dev-python/sphinx_rtd_theme \ |
322 |
- dev-python/towncrier |
323 |
- |
324 |
-python_prepare_all() { |
325 |
- # Disable tests require IPv6 |
326 |
- if ! linux_config_exists || ! linux_chkconfig_present IPV6; then |
327 |
- sed -i -e "/for family in/s/, AF_INET6//" \ |
328 |
- -e "/test_getaddrinfo/i@×××××××××××.skip(reason='no IPv6')" \ |
329 |
- trio/tests/test_socket.py || die "sed failed for test_socket.py" |
330 |
- fi |
331 |
- |
332 |
- # these tests require internet access |
333 |
- rm trio/tests/test_ssl.py || die |
334 |
- rm trio/tests/test_highlevel_ssl_helpers.py || die |
335 |
- |
336 |
- distutils-r1_python_prepare_all |
337 |
-} |
338 |
- |
339 |
-python_test() { |
340 |
- # tests fail if package is already installed without this |
341 |
- PYTHONPATH="${S}" |
342 |
- cd "${S}" || die |
343 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
344 |
-} |