Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/trio/
Date: Sat, 28 Nov 2020 13:58:04
Message-Id: 1606570956.bbb208dab9c7ac9f918be85193c2621af35d9ce2.andrewammerlaan@gentoo
1 commit: bbb208dab9c7ac9f918be85193c2621af35d9ce2
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sat Nov 28 13:42:36 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sat Nov 28 13:42:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbb208da
7
8 dev-python/trio: clean up old
9
10 Package-Manager: Portage-3.0.10, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/trio/Manifest | 2 --
14 dev-python/trio/trio-0.14.0-r1.ebuild | 67 -----------------------------------
15 dev-python/trio/trio-0.14.0.ebuild | 62 --------------------------------
16 dev-python/trio/trio-0.15.1.ebuild | 62 --------------------------------
17 4 files changed, 193 deletions(-)
18
19 diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
20 index 30d17868..9a5ee651 100644
21 --- a/dev-python/trio/Manifest
22 +++ b/dev-python/trio/Manifest
23 @@ -1,3 +1 @@
24 -DIST trio-0.14.0.tar.gz 451593 BLAKE2B 05b19fb17fb046c17c196d6fec003b731a0beb2c976e0d289665fbdf28c1ab8556404c21a9b3c72623b7d293a74438d4d43a368367838247d9e17e0f6d4ec47e SHA512 dcc640315c5f9a558c00be97ffc011bbb6d2a2137f4f07845698bdec5e2c0949ffb23f6ec49410e618d49156b42a5423b82f5c1f271c1cced7886d3f94c2cd9e
25 -DIST trio-0.15.1.tar.gz 457493 BLAKE2B 9123510032f8e59b67bde778c1270d0fd18771806120866741f4e03f6e3f354ad34d06d75b23f38d53fa43e0832cc51060049b81a35be14b4ce043e32672b77d SHA512 48ff7e00e67ad11d09faf643275982e893ee7d533396dd9fe2558d38390693acf9e023fddbc8b00b7d12090154c0610fa71e65d003e110cfbb47b3f0eb3e8469
26 DIST trio-0.17.0.tar.gz 488878 BLAKE2B bf24f5a80e7fed19a3efea833bd3336ebe3b164f495026913ec933e2b9f3150cdfc732bb029fb5d07b71523d811003cd8fa9fb487023c604b28c963d335adc55 SHA512 511c281aeefdd2197586aa1b3609836b06ac208cfac68b5e47af98ba9289e127899f45adc002c5750a9c868c214f04410e0077d34e20adbac5a9d0bf82b442fd
27
28 diff --git a/dev-python/trio/trio-0.14.0-r1.ebuild b/dev-python/trio/trio-0.14.0-r1.ebuild
29 deleted file mode 100644
30 index 2da46257..00000000
31 --- a/dev-python/trio/trio-0.14.0-r1.ebuild
32 +++ /dev/null
33 @@ -1,67 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{6,7} )
40 -
41 -inherit distutils-r1 linux-info
42 -
43 -DESCRIPTION="Python library for async concurrency and I/O"
44 -HOMEPAGE="
45 - https://github.com/python-trio/trio
46 - https://pypi.org/project/trio
47 -"
48 -SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 -
50 -LICENSE="|| ( Apache-2.0 MIT )"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~x86"
53 -
54 -RDEPEND="
55 - dev-python/async_generator[${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 - $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6)
62 -"
63 -DEPEND="${RDEPEND}
64 - test? (
65 - >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
66 - >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
67 - dev-python/ipython[${PYTHON_USEDEP}]
68 - dev-python/jedi[${PYTHON_USEDEP}]
69 - dev-python/pylint[${PYTHON_USEDEP}]
70 - dev-python/pyopenssl[${PYTHON_USEDEP}]
71 - dev-python/trustme[${PYTHON_USEDEP}]
72 - dev-python/yapf[${PYTHON_USEDEP}]
73 - )
74 -"
75 -
76 -distutils_enable_tests pytest
77 -distutils_enable_sphinx docs/source \
78 - ">=dev-python/immutables-0.6" \
79 - dev-python/sphinxcontrib-trio \
80 - dev-python/sphinx_rtd_theme \
81 - dev-python/towncrier
82 -
83 -python_prepare_all() {
84 - # Disable tests require IPv6
85 - if ! linux_config_exists || ! linux_chkconfig_present IPV6; then
86 - sed -i -e "/for family in/s/, AF_INET6//" \
87 - -e "/test_getaddrinfo/i@×××××××××××.skip(reason='no IPv6')" \
88 - trio/tests/test_socket.py || die "sed failed for test_socket.py"
89 - fi
90 -
91 - # these tests require internet access
92 - rm trio/tests/test_ssl.py || die
93 - rm trio/tests/test_highlevel_ssl_helpers.py || die
94 -
95 - distutils-r1_python_prepare_all
96 -}
97 -
98 -python_test() {
99 - pytest -vv --deselect "trio/tests/test_exports.py::test_static_tool_sees_all_symbols[jedi-trio.socket]" || die
100 -}
101
102 diff --git a/dev-python/trio/trio-0.14.0.ebuild b/dev-python/trio/trio-0.14.0.ebuild
103 deleted file mode 100644
104 index 7a30e037..00000000
105 --- a/dev-python/trio/trio-0.14.0.ebuild
106 +++ /dev/null
107 @@ -1,62 +0,0 @@
108 -# Copyright 1999-2020 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=7
112 -
113 -PYTHON_COMPAT=( python3_7 )
114 -
115 -inherit distutils-r1 linux-info
116 -
117 -DESCRIPTION="Python library for async concurrency and I/O"
118 -HOMEPAGE="
119 - https://github.com/python-trio/trio
120 - https://pypi.org/project/trio
121 -"
122 -SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
123 -
124 -LICENSE="|| ( Apache-2.0 MIT )"
125 -SLOT="0"
126 -KEYWORDS="~amd64 ~x86"
127 -
128 -RDEPEND="
129 - dev-python/async_generator[${PYTHON_USEDEP}]
130 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
131 - dev-python/idna[${PYTHON_USEDEP}]
132 - dev-python/outcome[${PYTHON_USEDEP}]
133 - dev-python/sniffio[${PYTHON_USEDEP}]
134 - dev-python/sortedcontainers[${PYTHON_USEDEP}]
135 -"
136 -DEPEND="${RDEPEND}
137 - test? (
138 - >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
139 - >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
140 - dev-python/ipython[${PYTHON_USEDEP}]
141 - dev-python/jedi[${PYTHON_USEDEP}]
142 - dev-python/pylint[${PYTHON_USEDEP}]
143 - dev-python/pyopenssl[${PYTHON_USEDEP}]
144 - dev-python/trustme[${PYTHON_USEDEP}]
145 - dev-python/yapf[${PYTHON_USEDEP}]
146 - )
147 -"
148 -
149 -distutils_enable_tests pytest
150 -distutils_enable_sphinx docs/source \
151 - ">=dev-python/immutables-0.6" \
152 - dev-python/sphinxcontrib-trio \
153 - dev-python/sphinx_rtd_theme \
154 - dev-python/towncrier
155 -
156 -python_prepare_all() {
157 - # Disable tests require IPv6
158 - if ! linux_config_exists || ! linux_chkconfig_present IPV6; then
159 - sed -i -e "/for family in/s/, AF_INET6//" \
160 - -e "/test_getaddrinfo/i@×××××××××××.skip(reason='no IPv6')" \
161 - trio/tests/test_socket.py || die "sed failed for test_socket.py"
162 - fi
163 -
164 - # these tests require internet access
165 - rm trio/tests/test_ssl.py || die
166 - rm trio/tests/test_highlevel_ssl_helpers.py || die
167 -
168 - distutils-r1_python_prepare_all
169 -}
170
171 diff --git a/dev-python/trio/trio-0.15.1.ebuild b/dev-python/trio/trio-0.15.1.ebuild
172 deleted file mode 100644
173 index 7a30e037..00000000
174 --- a/dev-python/trio/trio-0.15.1.ebuild
175 +++ /dev/null
176 @@ -1,62 +0,0 @@
177 -# Copyright 1999-2020 Gentoo Authors
178 -# Distributed under the terms of the GNU General Public License v2
179 -
180 -EAPI=7
181 -
182 -PYTHON_COMPAT=( python3_7 )
183 -
184 -inherit distutils-r1 linux-info
185 -
186 -DESCRIPTION="Python library for async concurrency and I/O"
187 -HOMEPAGE="
188 - https://github.com/python-trio/trio
189 - https://pypi.org/project/trio
190 -"
191 -SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
192 -
193 -LICENSE="|| ( Apache-2.0 MIT )"
194 -SLOT="0"
195 -KEYWORDS="~amd64 ~x86"
196 -
197 -RDEPEND="
198 - dev-python/async_generator[${PYTHON_USEDEP}]
199 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
200 - dev-python/idna[${PYTHON_USEDEP}]
201 - dev-python/outcome[${PYTHON_USEDEP}]
202 - dev-python/sniffio[${PYTHON_USEDEP}]
203 - dev-python/sortedcontainers[${PYTHON_USEDEP}]
204 -"
205 -DEPEND="${RDEPEND}
206 - test? (
207 - >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
208 - >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
209 - dev-python/ipython[${PYTHON_USEDEP}]
210 - dev-python/jedi[${PYTHON_USEDEP}]
211 - dev-python/pylint[${PYTHON_USEDEP}]
212 - dev-python/pyopenssl[${PYTHON_USEDEP}]
213 - dev-python/trustme[${PYTHON_USEDEP}]
214 - dev-python/yapf[${PYTHON_USEDEP}]
215 - )
216 -"
217 -
218 -distutils_enable_tests pytest
219 -distutils_enable_sphinx docs/source \
220 - ">=dev-python/immutables-0.6" \
221 - dev-python/sphinxcontrib-trio \
222 - dev-python/sphinx_rtd_theme \
223 - dev-python/towncrier
224 -
225 -python_prepare_all() {
226 - # Disable tests require IPv6
227 - if ! linux_config_exists || ! linux_chkconfig_present IPV6; then
228 - sed -i -e "/for family in/s/, AF_INET6//" \
229 - -e "/test_getaddrinfo/i@×××××××××××.skip(reason='no IPv6')" \
230 - trio/tests/test_socket.py || die "sed failed for test_socket.py"
231 - fi
232 -
233 - # these tests require internet access
234 - rm trio/tests/test_ssl.py || die
235 - rm trio/tests/test_highlevel_ssl_helpers.py || die
236 -
237 - distutils-r1_python_prepare_all
238 -}