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/tox/
Date: Fri, 30 Dec 2022 07:08:27
Message-Id: 1672384094.623cf03a2f685e0046e99c795b82fdf7634d6a5c.mgorny@gentoo
1 commit: 623cf03a2f685e0046e99c795b82fdf7634d6a5c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 30 06:28:25 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 07:08:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623cf03a
7
8 dev-python/tox: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tox/Manifest | 3 --
13 dev-python/tox/tox-4.0.16.ebuild | 91 ----------------------------------------
14 dev-python/tox/tox-4.0.17.ebuild | 91 ----------------------------------------
15 dev-python/tox/tox-4.0.18.ebuild | 91 ----------------------------------------
16 4 files changed, 276 deletions(-)
17
18 diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
19 index ee227995b6d7..2d248ad35d53 100644
20 --- a/dev-python/tox/Manifest
21 +++ b/dev-python/tox/Manifest
22 @@ -1,6 +1,3 @@
23 DIST tox-3.27.1.gh.tar.gz 309006 BLAKE2B fa8aaa9cd5b03e54c166bb6b748290420b91498b26d2d124d9f88a64806b9ac0578c1886845b25aa024907f6a782c45609fa6c7657d9e1f538b59c2d9f0f4e14 SHA512 5f568bc6c53f871aae91928681dd6f2419b876a8e6ca925e65abae845b548ee3d00513741882875bbbacb78bf64935228d98213f940d3da8c3f788b73f177b79
24 DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3e67825672d0efc74c1b1468bc8b8d9c14b6177c181750ba4b9a5e77d616068dd83e21f5641acfc8e2a271cc1f SHA512 64816754e6800661bb564c5c7d21c4139522d540a04fafe3c4591d596072d48d1cbe0ee2abee9c8faf3d5007774f5371431b5a7a8f49912bc879c7b168aab2ca
25 -DIST tox-4.0.16.gh.tar.gz 283676 BLAKE2B b9b8149dcfa141518cb18a0ac3263c65f4928fc068357d7a513971d7037cc60cb4b3627d61d3e3479622b9fcbdc235356ca97cde993ab47db7abf4755854b17d SHA512 db4428b576dd3b669969b2390203ba6a0efa85f60073374b32c7ff1273745dde59ef0ffd404a7db98ca9056c5d5b5bd1811b51af7b475c116816c150c4d88c4c
26 -DIST tox-4.0.17.gh.tar.gz 284062 BLAKE2B 65055fd793fa5d4006d0082a89d7f42452cc5b3d1507a87875175db334bf177efeefa8b3e671d9042b795d8f21898ea1b1650cb1337bb9581a3b83ce8b42fec7 SHA512 065f4b91c32902fc8a65b5529e615af428a5ee8f8ad5cebee6c4ba14ceea315844cda8c6d2a882ba34baf7369d5676f210752d89d1cb3f9e2c7d7af790481193
27 -DIST tox-4.0.18.gh.tar.gz 284137 BLAKE2B b507b0a15664656f381bc06356adb04c5fdfbe52deeef673e4ccc3d7a45d8cec10de80f6fe141a35bf529b020d5d8579c4dd6e4e3aa323bad320c7fcc6c34d18 SHA512 cd10cd4194002644d57fc63295099fccf6ffdaa2eeaf7bfe2f47c85d76dc115f9faa78ce0cfc43603b11ec04abaf4d41fe653fa48bff71e71ab7d102356ec5b8
28 DIST tox-4.0.19.gh.tar.gz 284319 BLAKE2B f0ed3d300e0fadfaa5725589cea91511ed0c37937dc3761b203cfd1f0a5cf4033b6006e693521c932d3af64feb150951c046f5853a8b9bb9e37dcf3c5db4de95 SHA512 27d01b96acf4f7650b5a4a3ad80293ea884ee6791ff2e734cb64c94551943af1fb91804944f7ae82937fe4172522c0d5e4f24e84d35012d11657adc49702fc88
29
30 diff --git a/dev-python/tox/tox-4.0.16.ebuild b/dev-python/tox/tox-4.0.16.ebuild
31 deleted file mode 100644
32 index 533a8c9ff12d..000000000000
33 --- a/dev-python/tox/tox-4.0.16.ebuild
34 +++ /dev/null
35 @@ -1,91 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -DISTUTILS_USE_PEP517=hatchling
42 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
43 -
44 -inherit distutils-r1
45 -
46 -MY_P=${P/_}
47 -DESCRIPTION="virtualenv-based automation of test activities"
48 -HOMEPAGE="
49 - https://tox.readthedocs.io/
50 - https://github.com/tox-dev/tox/
51 - https://pypi.org/project/tox/
52 -"
53 -SRC_URI="
54 - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz
55 - -> ${MY_P}.gh.tar.gz
56 -"
57 -S=${WORKDIR}/${MY_P}
58 -
59 -LICENSE="MIT"
60 -SLOT="0"
61 -KEYWORDS="~amd64"
62 -
63 -RDEPEND="
64 - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}]
65 - >=dev-python/chardet-5.1[${PYTHON_USEDEP}]
66 - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
67 - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}]
68 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
69 - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}]
70 - >=dev-python/pluggy-1[${PYTHON_USEDEP}]
71 - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}]
72 - $(python_gen_cond_dep '
73 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
74 - ' 3.8 3.9 3.10)
75 - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}]
76 -"
77 -BDEPEND="
78 - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}]
79 - test? (
80 - dev-python/build[${PYTHON_USEDEP}]
81 - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}]
82 - >=dev-python/flaky-3.7[${PYTHON_USEDEP}]
83 - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}]
84 - dev-python/pytest-mock[${PYTHON_USEDEP}]
85 - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}]
86 - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}]
87 - $(python_gen_cond_dep '
88 - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}]
89 - ' 'python*')
90 - )
91 -"
92 -
93 -distutils_enable_tests pytest
94 -
95 -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
96 -
97 -src_prepare() {
98 - # the minimal bounds in tox are entirely meaningless and new packaging
99 - # breaks setuptools
100 - sed -i -e '/packaging/s:>=22::' pyproject.toml || die
101 - distutils-r1_src_prepare
102 -}
103 -
104 -python_test() {
105 - # devpi_process is not packaged, and has lots of dependencies
106 - cat > "${T}"/devpi_process.py <<-EOF || die
107 - def IndexServer(*args, **kwargs): raise NotImplementedError()
108 - EOF
109 -
110 - local -x PYTHONPATH=${T}:${PYTHONPATH}
111 - local EPYTEST_DESELECT=(
112 - # Internet
113 - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external
114 - )
115 - local EPYTEST_IGNORE=(
116 - # requires devpi*
117 - tests/test_provision.py
118 - )
119 - if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then
120 - EPYTEST_IGNORE+=(
121 - tests/util/test_spinner.py
122 - )
123 - fi
124 -
125 - epytest
126 -}
127
128 diff --git a/dev-python/tox/tox-4.0.17.ebuild b/dev-python/tox/tox-4.0.17.ebuild
129 deleted file mode 100644
130 index 98dc8a8f2545..000000000000
131 --- a/dev-python/tox/tox-4.0.17.ebuild
132 +++ /dev/null
133 @@ -1,91 +0,0 @@
134 -# Copyright 1999-2022 Gentoo Authors
135 -# Distributed under the terms of the GNU General Public License v2
136 -
137 -EAPI=8
138 -
139 -DISTUTILS_USE_PEP517=hatchling
140 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
141 -
142 -inherit distutils-r1
143 -
144 -MY_P=${P/_}
145 -DESCRIPTION="virtualenv-based automation of test activities"
146 -HOMEPAGE="
147 - https://tox.readthedocs.io/
148 - https://github.com/tox-dev/tox/
149 - https://pypi.org/project/tox/
150 -"
151 -SRC_URI="
152 - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz
153 - -> ${MY_P}.gh.tar.gz
154 -"
155 -S=${WORKDIR}/${MY_P}
156 -
157 -LICENSE="MIT"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~ppc"
160 -
161 -RDEPEND="
162 - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}]
163 - >=dev-python/chardet-5.1[${PYTHON_USEDEP}]
164 - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
165 - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}]
166 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
167 - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}]
168 - >=dev-python/pluggy-1[${PYTHON_USEDEP}]
169 - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}]
170 - $(python_gen_cond_dep '
171 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
172 - ' 3.8 3.9 3.10)
173 - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}]
174 -"
175 -BDEPEND="
176 - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}]
177 - test? (
178 - dev-python/build[${PYTHON_USEDEP}]
179 - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}]
180 - >=dev-python/flaky-3.7[${PYTHON_USEDEP}]
181 - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}]
182 - dev-python/pytest-mock[${PYTHON_USEDEP}]
183 - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}]
184 - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}]
185 - $(python_gen_cond_dep '
186 - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}]
187 - ' 'python*')
188 - )
189 -"
190 -
191 -distutils_enable_tests pytest
192 -
193 -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
194 -
195 -src_prepare() {
196 - # the minimal bounds in tox are entirely meaningless and new packaging
197 - # breaks setuptools
198 - sed -i -e '/packaging/s:>=22::' pyproject.toml || die
199 - distutils-r1_src_prepare
200 -}
201 -
202 -python_test() {
203 - # devpi_process is not packaged, and has lots of dependencies
204 - cat > "${T}"/devpi_process.py <<-EOF || die
205 - def IndexServer(*args, **kwargs): raise NotImplementedError()
206 - EOF
207 -
208 - local -x PYTHONPATH=${T}:${PYTHONPATH}
209 - local EPYTEST_DESELECT=(
210 - # Internet
211 - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external
212 - )
213 - local EPYTEST_IGNORE=(
214 - # requires devpi*
215 - tests/test_provision.py
216 - )
217 - if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then
218 - EPYTEST_IGNORE+=(
219 - tests/util/test_spinner.py
220 - )
221 - fi
222 -
223 - epytest
224 -}
225
226 diff --git a/dev-python/tox/tox-4.0.18.ebuild b/dev-python/tox/tox-4.0.18.ebuild
227 deleted file mode 100644
228 index 98dc8a8f2545..000000000000
229 --- a/dev-python/tox/tox-4.0.18.ebuild
230 +++ /dev/null
231 @@ -1,91 +0,0 @@
232 -# Copyright 1999-2022 Gentoo Authors
233 -# Distributed under the terms of the GNU General Public License v2
234 -
235 -EAPI=8
236 -
237 -DISTUTILS_USE_PEP517=hatchling
238 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
239 -
240 -inherit distutils-r1
241 -
242 -MY_P=${P/_}
243 -DESCRIPTION="virtualenv-based automation of test activities"
244 -HOMEPAGE="
245 - https://tox.readthedocs.io/
246 - https://github.com/tox-dev/tox/
247 - https://pypi.org/project/tox/
248 -"
249 -SRC_URI="
250 - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz
251 - -> ${MY_P}.gh.tar.gz
252 -"
253 -S=${WORKDIR}/${MY_P}
254 -
255 -LICENSE="MIT"
256 -SLOT="0"
257 -KEYWORDS="~amd64 ~ppc"
258 -
259 -RDEPEND="
260 - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}]
261 - >=dev-python/chardet-5.1[${PYTHON_USEDEP}]
262 - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
263 - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}]
264 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
265 - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}]
266 - >=dev-python/pluggy-1[${PYTHON_USEDEP}]
267 - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}]
268 - $(python_gen_cond_dep '
269 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
270 - ' 3.8 3.9 3.10)
271 - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}]
272 -"
273 -BDEPEND="
274 - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}]
275 - test? (
276 - dev-python/build[${PYTHON_USEDEP}]
277 - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}]
278 - >=dev-python/flaky-3.7[${PYTHON_USEDEP}]
279 - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}]
280 - dev-python/pytest-mock[${PYTHON_USEDEP}]
281 - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}]
282 - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}]
283 - $(python_gen_cond_dep '
284 - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}]
285 - ' 'python*')
286 - )
287 -"
288 -
289 -distutils_enable_tests pytest
290 -
291 -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
292 -
293 -src_prepare() {
294 - # the minimal bounds in tox are entirely meaningless and new packaging
295 - # breaks setuptools
296 - sed -i -e '/packaging/s:>=22::' pyproject.toml || die
297 - distutils-r1_src_prepare
298 -}
299 -
300 -python_test() {
301 - # devpi_process is not packaged, and has lots of dependencies
302 - cat > "${T}"/devpi_process.py <<-EOF || die
303 - def IndexServer(*args, **kwargs): raise NotImplementedError()
304 - EOF
305 -
306 - local -x PYTHONPATH=${T}:${PYTHONPATH}
307 - local EPYTEST_DESELECT=(
308 - # Internet
309 - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external
310 - )
311 - local EPYTEST_IGNORE=(
312 - # requires devpi*
313 - tests/test_provision.py
314 - )
315 - if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then
316 - EPYTEST_IGNORE+=(
317 - tests/util/test_spinner.py
318 - )
319 - fi
320 -
321 - epytest
322 -}