Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/dandischema/, dev-python/dandischema/files/
Date: Mon, 02 May 2022 08:02:32
Message-Id: 1651478515.863cc94d4873ffca83f71f0bf9f87a13c7f92678.chymera@gentoo
1 commit: 863cc94d4873ffca83f71f0bf9f87a13c7f92678
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Mon May 2 08:01:55 2022 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Mon May 2 08:01:55 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=863cc94d
7
8 dev-python/dandischema: dropped package
9
10 superseded by dev-python/dandi-schema
11
12 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
13
14 dev-python/dandischema/dandischema-0.4.3.ebuild | 46 ----------------------
15 dev-python/dandischema/dandischema-0.5.1.ebuild | 42 --------------------
16 dev-python/dandischema/dandischema-0.5.3.ebuild | 42 --------------------
17 dev-python/dandischema/dandischema-0.6.0.ebuild | 42 --------------------
18 .../files/dandischema-0.3.4-coverage.patch | 11 ------
19 .../files/dandischema-0.3.4-versioningit.patch | 10 -----
20 dev-python/dandischema/metadata.xml | 26 ------------
21 7 files changed, 219 deletions(-)
22
23 diff --git a/dev-python/dandischema/dandischema-0.4.3.ebuild b/dev-python/dandischema/dandischema-0.4.3.ebuild
24 deleted file mode 100644
25 index 18584a8d4..000000000
26 --- a/dev-python/dandischema/dandischema-0.4.3.ebuild
27 +++ /dev/null
28 @@ -1,46 +0,0 @@
29 -# Copyright 1999-2022 Gentoo Authors
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI=8
33 -
34 -PYTHON_COMPAT=( python3_{8..10} )
35 -inherit distutils-r1
36 -
37 -DESCRIPTION="Schemata for DANDI archive project"
38 -HOMEPAGE="https://github.com/dandi/dandischema"
39 -SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="Apache-2.0"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~x86"
44 -IUSE="test"
45 -RESTRICT="!test? ( test )"
46 -
47 -RDEPEND="
48 - dev-python/wheel[${PYTHON_USEDEP}]
49 - dev-python/jsonschema[${PYTHON_USEDEP}]
50 - dev-python/pydantic[${PYTHON_USEDEP}]
51 - dev-python/python-email-validator[${PYTHON_USEDEP}]
52 - dev-python/requests[${PYTHON_USEDEP}]
53 -"
54 -DEPEND="
55 - dev-python/setuptools[${PYTHON_USEDEP}]
56 -"
57 -
58 -PATCHES=(
59 - "${FILESDIR}/${PN}-0.3.4-coverage.patch"
60 - "${FILESDIR}/${PN}-0.3.4-versioningit.patch"
61 -)
62 -
63 -src_configure() {
64 - echo "__version__ = '${PV}'" >> dandischema/_version.py
65 -}
66 -
67 -distutils_enable_tests pytest
68 -
69 -python_test() {
70 - export DANDI_TESTS_NONETWORK=1
71 - pushd dandischema || die
72 - epytest tests
73 - popd
74 -}
75
76 diff --git a/dev-python/dandischema/dandischema-0.5.1.ebuild b/dev-python/dandischema/dandischema-0.5.1.ebuild
77 deleted file mode 100644
78 index e261a7540..000000000
79 --- a/dev-python/dandischema/dandischema-0.5.1.ebuild
80 +++ /dev/null
81 @@ -1,42 +0,0 @@
82 -# Copyright 1999-2022 Gentoo Authors
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=8
86 -
87 -DISTUTILS_USE_PEP517=setuptools
88 -PYTHON_COMPAT=( python3_{8..10} )
89 -
90 -inherit distutils-r1
91 -
92 -DESCRIPTION="Schemata for DANDI archive project"
93 -HOMEPAGE="https://github.com/dandi/dandischema"
94 -SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
95 -
96 -LICENSE="Apache-2.0"
97 -SLOT="0"
98 -KEYWORDS="~amd64 ~x86"
99 -
100 -RDEPEND="
101 - dev-python/wheel[${PYTHON_USEDEP}]
102 - dev-python/jsonschema[${PYTHON_USEDEP}]
103 - dev-python/pydantic[${PYTHON_USEDEP}]
104 - dev-python/python-email-validator[${PYTHON_USEDEP}]
105 - dev-python/requests[${PYTHON_USEDEP}]
106 -"
107 -
108 -PATCHES=(
109 - "${FILESDIR}/${PN}-0.3.4-coverage.patch"
110 -)
111 -
112 -src_configure() {
113 - echo "__version__ = '${PV}'" >> dandischema/_version.py
114 -}
115 -
116 -distutils_enable_tests pytest
117 -
118 -python_test() {
119 - export DANDI_TESTS_NONETWORK=1
120 - pushd dandischema || die
121 - epytest tests
122 - popd
123 -}
124
125 diff --git a/dev-python/dandischema/dandischema-0.5.3.ebuild b/dev-python/dandischema/dandischema-0.5.3.ebuild
126 deleted file mode 100644
127 index e261a7540..000000000
128 --- a/dev-python/dandischema/dandischema-0.5.3.ebuild
129 +++ /dev/null
130 @@ -1,42 +0,0 @@
131 -# Copyright 1999-2022 Gentoo Authors
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=8
135 -
136 -DISTUTILS_USE_PEP517=setuptools
137 -PYTHON_COMPAT=( python3_{8..10} )
138 -
139 -inherit distutils-r1
140 -
141 -DESCRIPTION="Schemata for DANDI archive project"
142 -HOMEPAGE="https://github.com/dandi/dandischema"
143 -SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
144 -
145 -LICENSE="Apache-2.0"
146 -SLOT="0"
147 -KEYWORDS="~amd64 ~x86"
148 -
149 -RDEPEND="
150 - dev-python/wheel[${PYTHON_USEDEP}]
151 - dev-python/jsonschema[${PYTHON_USEDEP}]
152 - dev-python/pydantic[${PYTHON_USEDEP}]
153 - dev-python/python-email-validator[${PYTHON_USEDEP}]
154 - dev-python/requests[${PYTHON_USEDEP}]
155 -"
156 -
157 -PATCHES=(
158 - "${FILESDIR}/${PN}-0.3.4-coverage.patch"
159 -)
160 -
161 -src_configure() {
162 - echo "__version__ = '${PV}'" >> dandischema/_version.py
163 -}
164 -
165 -distutils_enable_tests pytest
166 -
167 -python_test() {
168 - export DANDI_TESTS_NONETWORK=1
169 - pushd dandischema || die
170 - epytest tests
171 - popd
172 -}
173
174 diff --git a/dev-python/dandischema/dandischema-0.6.0.ebuild b/dev-python/dandischema/dandischema-0.6.0.ebuild
175 deleted file mode 100644
176 index e261a7540..000000000
177 --- a/dev-python/dandischema/dandischema-0.6.0.ebuild
178 +++ /dev/null
179 @@ -1,42 +0,0 @@
180 -# Copyright 1999-2022 Gentoo Authors
181 -# Distributed under the terms of the GNU General Public License v2
182 -
183 -EAPI=8
184 -
185 -DISTUTILS_USE_PEP517=setuptools
186 -PYTHON_COMPAT=( python3_{8..10} )
187 -
188 -inherit distutils-r1
189 -
190 -DESCRIPTION="Schemata for DANDI archive project"
191 -HOMEPAGE="https://github.com/dandi/dandischema"
192 -SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
193 -
194 -LICENSE="Apache-2.0"
195 -SLOT="0"
196 -KEYWORDS="~amd64 ~x86"
197 -
198 -RDEPEND="
199 - dev-python/wheel[${PYTHON_USEDEP}]
200 - dev-python/jsonschema[${PYTHON_USEDEP}]
201 - dev-python/pydantic[${PYTHON_USEDEP}]
202 - dev-python/python-email-validator[${PYTHON_USEDEP}]
203 - dev-python/requests[${PYTHON_USEDEP}]
204 -"
205 -
206 -PATCHES=(
207 - "${FILESDIR}/${PN}-0.3.4-coverage.patch"
208 -)
209 -
210 -src_configure() {
211 - echo "__version__ = '${PV}'" >> dandischema/_version.py
212 -}
213 -
214 -distutils_enable_tests pytest
215 -
216 -python_test() {
217 - export DANDI_TESTS_NONETWORK=1
218 - pushd dandischema || die
219 - epytest tests
220 - popd
221 -}
222
223 diff --git a/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch b/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch
224 deleted file mode 100644
225 index a9c7b6c2b..000000000
226 --- a/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch
227 +++ /dev/null
228 @@ -1,11 +0,0 @@
229 ---- a/tox.ini 2021-09-22 19:31:20.534576095 -0400
230 -+++ b/tox.ini 2021-09-26 16:11:30.080164191 -0400
231 -@@ -17,7 +17,7 @@
232 - flake8 --config=setup.cfg {posargs} dandischema setup.py
233 -
234 - [pytest]
235 --addopts = --cov=dandischema --tb=short --durations=10
236 -+addopts = --tb=short --durations=10
237 - filterwarnings = error
238 -
239 - [coverage:run]
240
241 diff --git a/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch b/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch
242 deleted file mode 100644
243 index 589091756..000000000
244 --- a/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch
245 +++ /dev/null
246 @@ -1,10 +0,0 @@
247 ---- a/setup.py 2021-09-22 19:31:20.533576086 -0400
248 -+++ b/setup.py 2021-09-23 07:42:02.856983656 -0400
249 -@@ -21,7 +21,7 @@
250 -
251 - # Give setuptools a hint to complain if it's too old a version
252 - # Should match pyproject.toml
253 --SETUP_REQUIRES = ["setuptools >= 42.0.0", "versioningit ~= 0.1.0"]
254 -+SETUP_REQUIRES = ["setuptools >= 42.0.0"]
255 - # This enables setuptools to install wheel on-the-fly
256 - SETUP_REQUIRES += ["wheel"] if "bdist_wheel" in sys.argv else []
257
258 diff --git a/dev-python/dandischema/metadata.xml b/dev-python/dandischema/metadata.xml
259 deleted file mode 100644
260 index eb1e64a4f..000000000
261 --- a/dev-python/dandischema/metadata.xml
262 +++ /dev/null
263 @@ -1,26 +0,0 @@
264 -<?xml version='1.0' encoding='UTF-8'?>
265 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
266 -<pkgmetadata>
267 - <maintainer type="person">
268 - <email>gentoo@×××××××.eu</email>
269 - <name>Horea Christian</name>
270 - </maintainer>
271 - <maintainer type="project">
272 - <email>sci@g.o</email>
273 - <name>Gentoo Science Project</name>
274 - </maintainer>
275 - <longdescription lang="en">
276 - A Python library for maintaining and managing DANDI metadata schemata.
277 - The library helps create and validate DANDI schema-compliant metadata
278 - for Dandisets and assets. Every Dandiset and associated asset has a
279 - metadata object that can be retrieved using the DANDI API. This
280 - library uses Pydantic to implement all the metadata classes. Schemas
281 - are generated on schema modifications and placed into this repository.
282 - Dandischema generates JSON schema definitions and also an associated
283 - context.json file for JSON-LD compliance of the metadata models.
284 - </longdescription>
285 - <upstream>
286 - <remote-id type="github">dandi/dandischema</remote-id>
287 - <remote-id type="pypi">dandischema</remote-id>
288 - </upstream>
289 -</pkgmetadata>