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/hatchling/
Date: Tue, 31 Jan 2023 11:55:04
Message-Id: 1675166095.6f333ed1698af348800558c4d8d2d5be4f7d45ee.mgorny@gentoo
1 commit: 6f333ed1698af348800558c4d8d2d5be4f7d45ee
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 11:52:53 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 11:54:55 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f333ed1
7
8 dev-python/hatchling: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/hatchling/Manifest | 3 --
13 dev-python/hatchling/hatchling-1.11.1.ebuild | 77 ----------------------------
14 dev-python/hatchling/hatchling-1.12.0.ebuild | 77 ----------------------------
15 dev-python/hatchling/hatchling-1.12.1.ebuild | 77 ----------------------------
16 4 files changed, 234 deletions(-)
17
18 diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest
19 index 3942cce2a0f1..f472955e43c3 100644
20 --- a/dev-python/hatchling/Manifest
21 +++ b/dev-python/hatchling/Manifest
22 @@ -1,4 +1 @@
23 -DIST hatch-hatchling-v1.11.1.gh.tar.gz 367624 BLAKE2B 006f9f9ab266eba7b7e489d4359a9ddb17a6e079c31e189662da8c4d090884eeae4bf108301d5c315d823e92cb813841e41211cc55618f4ee9109bccdde61e1e SHA512 7bdf5a2930950503dbe534f6ead724ed84420193ba55137600a5b98a085e94588e333bb5a14ad944746dc400522ebbea4849718686420fd6ed7de3d6e8852d8e
24 -DIST hatch-hatchling-v1.12.0.gh.tar.gz 379902 BLAKE2B 831ab78bff6a039a1941ca171aaccbfb97d1d31c14505d3dde60ee4283b317cc80b6e6072b63fe9e69cccbf759bf4f7db6a371502451ffa5303547273e8d2341 SHA512 40c1684bcc730e809cdbda9d15494f07bead69b1b4bf9c98a1d2a84d2053bb7b104d6bcab1e72a4de66081dd839b7ccae96d877760353e3528e8676cea5d2a5c
25 -DIST hatch-hatchling-v1.12.1.gh.tar.gz 380805 BLAKE2B da99130ac6d07517976a6e078e8a35896202e066b124ec96577cc1e57f59a2b3476623b9af15dd9e04b2d69e7219c13ad71e55c3bf02e7beee1a10bf37ee5882 SHA512 8a8cc7fa706dcbb95bf35525351dbf0e5dc61041c7e210d81479df84cd40019b727c4244cb83af93c466f676fcf1279155f470c80e63689af01efcb0f38cdb25
26 DIST hatch-hatchling-v1.12.2.gh.tar.gz 381872 BLAKE2B 6290daca1f2d2cd4eb9479b2f34b782881651c0106008c8876c355e5f3aa12cdbd0168765fdc04dd7870f9b88d44cc1be8d3849b2f20393bf64bebe9dbf09dd9 SHA512 74404b3b5369f6a8350cbde9675de6d9d7a72aca721714d47d8c4052c341affed1ebb4f4caae96877c2ccf2c4bab29b8323643e2a3d7de67bfe5888f3a08cdca
27
28 diff --git a/dev-python/hatchling/hatchling-1.11.1.ebuild b/dev-python/hatchling/hatchling-1.11.1.ebuild
29 deleted file mode 100644
30 index 4a2101315a07..000000000000
31 --- a/dev-python/hatchling/hatchling-1.11.1.ebuild
32 +++ /dev/null
33 @@ -1,77 +0,0 @@
34 -# Copyright 2022-2023 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -DISTUTILS_USE_PEP517=standalone
40 -PYTHON_TESTED=( pypy3 python3_{9..11} )
41 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
42 -
43 -inherit distutils-r1
44 -
45 -TAG=${P/-/-v}
46 -MY_P=hatch-${TAG}
47 -DESCRIPTION="Modern, extensible Python build backend"
48 -HOMEPAGE="
49 - https://pypi.org/project/hatchling/
50 - https://github.com/pypa/hatch/
51 -"
52 -SRC_URI="
53 - https://github.com/pypa/hatch/archive/${TAG}.tar.gz
54 - -> ${MY_P}.gh.tar.gz
55 -"
56 -S=${WORKDIR}/${MY_P}/backend
57 -
58 -LICENSE="MIT"
59 -SLOT="0"
60 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
61 -
62 -# deps are listed in backend/src/hatchling/ouroboros.py
63 -RDEPEND="
64 - >=dev-python/editables-0.3[${PYTHON_USEDEP}]
65 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
66 - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}]
67 - >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}]
68 - $(python_gen_cond_dep '
69 - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
70 - ' 3.8 3.9 3.10)
71 -"
72 -BDEPEND="
73 - ${RDEPEND}
74 - test? (
75 - $(python_gen_cond_dep '
76 - dev-python/atomicwrites[${PYTHON_USEDEP}]
77 - dev-python/click[${PYTHON_USEDEP}]
78 - dev-python/httpx[${PYTHON_USEDEP}]
79 - dev-python/platformdirs[${PYTHON_USEDEP}]
80 - dev-python/rich[${PYTHON_USEDEP}]
81 - dev-python/tomli-w[${PYTHON_USEDEP}]
82 - dev-python/virtualenv[${PYTHON_USEDEP}]
83 - ' "${PYTHON_TESTED[@]}")
84 - )
85 -"
86 -
87 -distutils_enable_tests pytest
88 -
89 -python_test() {
90 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
91 - einfo "Skipping tests on ${EPYTHON}"
92 - return
93 - fi
94 -
95 - local -x EPYTEST_DESELECT=(
96 - # these run pip to install stuff
97 - tests/backend/dep/test_core.py::test_dependency_found
98 - tests/backend/dep/test_core.py::test_extra_met
99 - tests/backend/dep/test_core.py::test_extra_no_dependencies
100 - tests/backend/dep/test_core.py::test_extra_unmet
101 - tests/backend/dep/test_core.py::test_unknown_extra
102 - tests/backend/dep/test_core.py::test_version_unmet
103 - )
104 -
105 - # top-level "tests" directory contains tests both for hatch
106 - # and hatchling
107 - cd "${WORKDIR}/${MY_P}" || die
108 - local -x PYTHONPATH="src:${PYTHONPATH}"
109 - epytest tests/backend
110 -}
111
112 diff --git a/dev-python/hatchling/hatchling-1.12.0.ebuild b/dev-python/hatchling/hatchling-1.12.0.ebuild
113 deleted file mode 100644
114 index 9b92d2a41c5b..000000000000
115 --- a/dev-python/hatchling/hatchling-1.12.0.ebuild
116 +++ /dev/null
117 @@ -1,77 +0,0 @@
118 -# Copyright 2022-2023 Gentoo Authors
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=8
122 -
123 -DISTUTILS_USE_PEP517=standalone
124 -PYTHON_TESTED=( pypy3 python3_{9..11} )
125 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
126 -
127 -inherit distutils-r1
128 -
129 -TAG=${P/-/-v}
130 -MY_P=hatch-${TAG}
131 -DESCRIPTION="Modern, extensible Python build backend"
132 -HOMEPAGE="
133 - https://pypi.org/project/hatchling/
134 - https://github.com/pypa/hatch/
135 -"
136 -SRC_URI="
137 - https://github.com/pypa/hatch/archive/${TAG}.tar.gz
138 - -> ${MY_P}.gh.tar.gz
139 -"
140 -S=${WORKDIR}/${MY_P}/backend
141 -
142 -LICENSE="MIT"
143 -SLOT="0"
144 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
145 -
146 -# deps are listed in backend/src/hatchling/ouroboros.py
147 -RDEPEND="
148 - >=dev-python/editables-0.3[${PYTHON_USEDEP}]
149 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
150 - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}]
151 - >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}]
152 - $(python_gen_cond_dep '
153 - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
154 - ' 3.8 3.9 3.10)
155 -"
156 -BDEPEND="
157 - ${RDEPEND}
158 - test? (
159 - $(python_gen_cond_dep '
160 - dev-python/atomicwrites[${PYTHON_USEDEP}]
161 - dev-python/click[${PYTHON_USEDEP}]
162 - dev-python/httpx[${PYTHON_USEDEP}]
163 - dev-python/platformdirs[${PYTHON_USEDEP}]
164 - dev-python/rich[${PYTHON_USEDEP}]
165 - dev-python/tomli-w[${PYTHON_USEDEP}]
166 - dev-python/virtualenv[${PYTHON_USEDEP}]
167 - ' "${PYTHON_TESTED[@]}")
168 - )
169 -"
170 -
171 -distutils_enable_tests pytest
172 -
173 -python_test() {
174 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
175 - einfo "Skipping tests on ${EPYTHON}"
176 - return
177 - fi
178 -
179 - local -x EPYTEST_DESELECT=(
180 - # these run pip to install stuff
181 - tests/backend/dep/test_core.py::test_dependency_found
182 - tests/backend/dep/test_core.py::test_extra_met
183 - tests/backend/dep/test_core.py::test_extra_no_dependencies
184 - tests/backend/dep/test_core.py::test_extra_unmet
185 - tests/backend/dep/test_core.py::test_unknown_extra
186 - tests/backend/dep/test_core.py::test_version_unmet
187 - )
188 -
189 - # top-level "tests" directory contains tests both for hatch
190 - # and hatchling
191 - cd "${WORKDIR}/${MY_P}" || die
192 - local -x PYTHONPATH="src:${PYTHONPATH}"
193 - epytest tests/backend
194 -}
195
196 diff --git a/dev-python/hatchling/hatchling-1.12.1.ebuild b/dev-python/hatchling/hatchling-1.12.1.ebuild
197 deleted file mode 100644
198 index 9b92d2a41c5b..000000000000
199 --- a/dev-python/hatchling/hatchling-1.12.1.ebuild
200 +++ /dev/null
201 @@ -1,77 +0,0 @@
202 -# Copyright 2022-2023 Gentoo Authors
203 -# Distributed under the terms of the GNU General Public License v2
204 -
205 -EAPI=8
206 -
207 -DISTUTILS_USE_PEP517=standalone
208 -PYTHON_TESTED=( pypy3 python3_{9..11} )
209 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
210 -
211 -inherit distutils-r1
212 -
213 -TAG=${P/-/-v}
214 -MY_P=hatch-${TAG}
215 -DESCRIPTION="Modern, extensible Python build backend"
216 -HOMEPAGE="
217 - https://pypi.org/project/hatchling/
218 - https://github.com/pypa/hatch/
219 -"
220 -SRC_URI="
221 - https://github.com/pypa/hatch/archive/${TAG}.tar.gz
222 - -> ${MY_P}.gh.tar.gz
223 -"
224 -S=${WORKDIR}/${MY_P}/backend
225 -
226 -LICENSE="MIT"
227 -SLOT="0"
228 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
229 -
230 -# deps are listed in backend/src/hatchling/ouroboros.py
231 -RDEPEND="
232 - >=dev-python/editables-0.3[${PYTHON_USEDEP}]
233 - >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
234 - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}]
235 - >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}]
236 - $(python_gen_cond_dep '
237 - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
238 - ' 3.8 3.9 3.10)
239 -"
240 -BDEPEND="
241 - ${RDEPEND}
242 - test? (
243 - $(python_gen_cond_dep '
244 - dev-python/atomicwrites[${PYTHON_USEDEP}]
245 - dev-python/click[${PYTHON_USEDEP}]
246 - dev-python/httpx[${PYTHON_USEDEP}]
247 - dev-python/platformdirs[${PYTHON_USEDEP}]
248 - dev-python/rich[${PYTHON_USEDEP}]
249 - dev-python/tomli-w[${PYTHON_USEDEP}]
250 - dev-python/virtualenv[${PYTHON_USEDEP}]
251 - ' "${PYTHON_TESTED[@]}")
252 - )
253 -"
254 -
255 -distutils_enable_tests pytest
256 -
257 -python_test() {
258 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
259 - einfo "Skipping tests on ${EPYTHON}"
260 - return
261 - fi
262 -
263 - local -x EPYTEST_DESELECT=(
264 - # these run pip to install stuff
265 - tests/backend/dep/test_core.py::test_dependency_found
266 - tests/backend/dep/test_core.py::test_extra_met
267 - tests/backend/dep/test_core.py::test_extra_no_dependencies
268 - tests/backend/dep/test_core.py::test_extra_unmet
269 - tests/backend/dep/test_core.py::test_unknown_extra
270 - tests/backend/dep/test_core.py::test_version_unmet
271 - )
272 -
273 - # top-level "tests" directory contains tests both for hatch
274 - # and hatchling
275 - cd "${WORKDIR}/${MY_P}" || die
276 - local -x PYTHONPATH="src:${PYTHONPATH}"
277 - epytest tests/backend
278 -}