* [gentoo-commits] proj/sci:master commit in: dev-python/dandischema/, dev-python/dandischema/files/
@ 2022-03-29 0:48 Horea Christian
0 siblings, 0 replies; 2+ messages in thread
From: Horea Christian @ 2022-03-29 0:48 UTC (permalink / raw
To: gentoo-commits
commit: 17b74679f9aef73bcd9eb3db3d0c4797c7d76d9a
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Mar 29 00:48:01 2022 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Mar 29 00:48:01 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17b74679
dev-python/dandischema: new package (DANDI stack)
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/dandischema/dandischema-0.4.3.ebuild | 46 ++++++++++++++++++++++
dev-python/dandischema/dandischema-0.5.1.ebuild | 42 ++++++++++++++++++++
dev-python/dandischema/dandischema-0.5.3.ebuild | 42 ++++++++++++++++++++
dev-python/dandischema/dandischema-0.6.0.ebuild | 42 ++++++++++++++++++++
.../files/dandischema-0.3.4-coverage.patch | 11 ++++++
.../files/dandischema-0.3.4-versioningit.patch | 10 +++++
dev-python/dandischema/metadata.xml | 26 ++++++++++++
7 files changed, 219 insertions(+)
diff --git a/dev-python/dandischema/dandischema-0.4.3.ebuild b/dev-python/dandischema/dandischema-0.4.3.ebuild
new file mode 100644
index 000000000..18584a8d4
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.4.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema"
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/python-email-validator[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+ "${FILESDIR}/${PN}-0.3.4-versioningit.patch"
+)
+
+src_configure() {
+ echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+ export DANDI_TESTS_NONETWORK=1
+ pushd dandischema || die
+ epytest tests
+ popd
+}
diff --git a/dev-python/dandischema/dandischema-0.5.1.ebuild b/dev-python/dandischema/dandischema-0.5.1.ebuild
new file mode 100644
index 000000000..e261a7540
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.5.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema"
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/python-email-validator[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+)
+
+src_configure() {
+ echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+ export DANDI_TESTS_NONETWORK=1
+ pushd dandischema || die
+ epytest tests
+ popd
+}
diff --git a/dev-python/dandischema/dandischema-0.5.3.ebuild b/dev-python/dandischema/dandischema-0.5.3.ebuild
new file mode 100644
index 000000000..e261a7540
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.5.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema"
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/python-email-validator[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+)
+
+src_configure() {
+ echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+ export DANDI_TESTS_NONETWORK=1
+ pushd dandischema || die
+ epytest tests
+ popd
+}
diff --git a/dev-python/dandischema/dandischema-0.6.0.ebuild b/dev-python/dandischema/dandischema-0.6.0.ebuild
new file mode 100644
index 000000000..e261a7540
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.6.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema"
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/python-email-validator[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+)
+
+src_configure() {
+ echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+ export DANDI_TESTS_NONETWORK=1
+ pushd dandischema || die
+ epytest tests
+ popd
+}
diff --git a/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch b/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch
new file mode 100644
index 000000000..a9c7b6c2b
--- /dev/null
+++ b/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch
@@ -0,0 +1,11 @@
+--- a/tox.ini 2021-09-22 19:31:20.534576095 -0400
++++ b/tox.ini 2021-09-26 16:11:30.080164191 -0400
+@@ -17,7 +17,7 @@
+ flake8 --config=setup.cfg {posargs} dandischema setup.py
+
+ [pytest]
+-addopts = --cov=dandischema --tb=short --durations=10
++addopts = --tb=short --durations=10
+ filterwarnings = error
+
+ [coverage:run]
diff --git a/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch b/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch
new file mode 100644
index 000000000..589091756
--- /dev/null
+++ b/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch
@@ -0,0 +1,10 @@
+--- a/setup.py 2021-09-22 19:31:20.533576086 -0400
++++ b/setup.py 2021-09-23 07:42:02.856983656 -0400
+@@ -21,7 +21,7 @@
+
+ # Give setuptools a hint to complain if it's too old a version
+ # Should match pyproject.toml
+-SETUP_REQUIRES = ["setuptools >= 42.0.0", "versioningit ~= 0.1.0"]
++SETUP_REQUIRES = ["setuptools >= 42.0.0"]
+ # This enables setuptools to install wheel on-the-fly
+ SETUP_REQUIRES += ["wheel"] if "bdist_wheel" in sys.argv else []
diff --git a/dev-python/dandischema/metadata.xml b/dev-python/dandischema/metadata.xml
new file mode 100644
index 000000000..eb1e64a4f
--- /dev/null
+++ b/dev-python/dandischema/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@chymera.eu</email>
+ <name>Horea Christian</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ A Python library for maintaining and managing DANDI metadata schemata.
+ The library helps create and validate DANDI schema-compliant metadata
+ for Dandisets and assets. Every Dandiset and associated asset has a
+ metadata object that can be retrieved using the DANDI API. This
+ library uses Pydantic to implement all the metadata classes. Schemas
+ are generated on schema modifications and placed into this repository.
+ Dandischema generates JSON schema definitions and also an associated
+ context.json file for JSON-LD compliance of the metadata models.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">dandi/dandischema</remote-id>
+ <remote-id type="pypi">dandischema</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/dandischema/, dev-python/dandischema/files/
@ 2022-05-02 8:02 Horea Christian
0 siblings, 0 replies; 2+ messages in thread
From: Horea Christian @ 2022-05-02 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 863cc94d4873ffca83f71f0bf9f87a13c7f92678
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon May 2 08:01:55 2022 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon May 2 08:01:55 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=863cc94d
dev-python/dandischema: dropped package
superseded by dev-python/dandi-schema
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/dandischema/dandischema-0.4.3.ebuild | 46 ----------------------
dev-python/dandischema/dandischema-0.5.1.ebuild | 42 --------------------
dev-python/dandischema/dandischema-0.5.3.ebuild | 42 --------------------
dev-python/dandischema/dandischema-0.6.0.ebuild | 42 --------------------
.../files/dandischema-0.3.4-coverage.patch | 11 ------
.../files/dandischema-0.3.4-versioningit.patch | 10 -----
dev-python/dandischema/metadata.xml | 26 ------------
7 files changed, 219 deletions(-)
diff --git a/dev-python/dandischema/dandischema-0.4.3.ebuild b/dev-python/dandischema/dandischema-0.4.3.ebuild
deleted file mode 100644
index 18584a8d4..000000000
--- a/dev-python/dandischema/dandischema-0.4.3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Schemata for DANDI archive project"
-HOMEPAGE="https://github.com/dandi/dandischema"
-SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/wheel[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/pydantic[${PYTHON_USEDEP}]
- dev-python/python-email-validator[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.3.4-coverage.patch"
- "${FILESDIR}/${PN}-0.3.4-versioningit.patch"
-)
-
-src_configure() {
- echo "__version__ = '${PV}'" >> dandischema/_version.py
-}
-
-distutils_enable_tests pytest
-
-python_test() {
- export DANDI_TESTS_NONETWORK=1
- pushd dandischema || die
- epytest tests
- popd
-}
diff --git a/dev-python/dandischema/dandischema-0.5.1.ebuild b/dev-python/dandischema/dandischema-0.5.1.ebuild
deleted file mode 100644
index e261a7540..000000000
--- a/dev-python/dandischema/dandischema-0.5.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Schemata for DANDI archive project"
-HOMEPAGE="https://github.com/dandi/dandischema"
-SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/wheel[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/pydantic[${PYTHON_USEDEP}]
- dev-python/python-email-validator[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.3.4-coverage.patch"
-)
-
-src_configure() {
- echo "__version__ = '${PV}'" >> dandischema/_version.py
-}
-
-distutils_enable_tests pytest
-
-python_test() {
- export DANDI_TESTS_NONETWORK=1
- pushd dandischema || die
- epytest tests
- popd
-}
diff --git a/dev-python/dandischema/dandischema-0.5.3.ebuild b/dev-python/dandischema/dandischema-0.5.3.ebuild
deleted file mode 100644
index e261a7540..000000000
--- a/dev-python/dandischema/dandischema-0.5.3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Schemata for DANDI archive project"
-HOMEPAGE="https://github.com/dandi/dandischema"
-SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/wheel[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/pydantic[${PYTHON_USEDEP}]
- dev-python/python-email-validator[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.3.4-coverage.patch"
-)
-
-src_configure() {
- echo "__version__ = '${PV}'" >> dandischema/_version.py
-}
-
-distutils_enable_tests pytest
-
-python_test() {
- export DANDI_TESTS_NONETWORK=1
- pushd dandischema || die
- epytest tests
- popd
-}
diff --git a/dev-python/dandischema/dandischema-0.6.0.ebuild b/dev-python/dandischema/dandischema-0.6.0.ebuild
deleted file mode 100644
index e261a7540..000000000
--- a/dev-python/dandischema/dandischema-0.6.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Schemata for DANDI archive project"
-HOMEPAGE="https://github.com/dandi/dandischema"
-SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/wheel[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/pydantic[${PYTHON_USEDEP}]
- dev-python/python-email-validator[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.3.4-coverage.patch"
-)
-
-src_configure() {
- echo "__version__ = '${PV}'" >> dandischema/_version.py
-}
-
-distutils_enable_tests pytest
-
-python_test() {
- export DANDI_TESTS_NONETWORK=1
- pushd dandischema || die
- epytest tests
- popd
-}
diff --git a/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch b/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch
deleted file mode 100644
index a9c7b6c2b..000000000
--- a/dev-python/dandischema/files/dandischema-0.3.4-coverage.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/tox.ini 2021-09-22 19:31:20.534576095 -0400
-+++ b/tox.ini 2021-09-26 16:11:30.080164191 -0400
-@@ -17,7 +17,7 @@
- flake8 --config=setup.cfg {posargs} dandischema setup.py
-
- [pytest]
--addopts = --cov=dandischema --tb=short --durations=10
-+addopts = --tb=short --durations=10
- filterwarnings = error
-
- [coverage:run]
diff --git a/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch b/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch
deleted file mode 100644
index 589091756..000000000
--- a/dev-python/dandischema/files/dandischema-0.3.4-versioningit.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/setup.py 2021-09-22 19:31:20.533576086 -0400
-+++ b/setup.py 2021-09-23 07:42:02.856983656 -0400
-@@ -21,7 +21,7 @@
-
- # Give setuptools a hint to complain if it's too old a version
- # Should match pyproject.toml
--SETUP_REQUIRES = ["setuptools >= 42.0.0", "versioningit ~= 0.1.0"]
-+SETUP_REQUIRES = ["setuptools >= 42.0.0"]
- # This enables setuptools to install wheel on-the-fly
- SETUP_REQUIRES += ["wheel"] if "bdist_wheel" in sys.argv else []
diff --git a/dev-python/dandischema/metadata.xml b/dev-python/dandischema/metadata.xml
deleted file mode 100644
index eb1e64a4f..000000000
--- a/dev-python/dandischema/metadata.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>gentoo@chymera.eu</email>
- <name>Horea Christian</name>
- </maintainer>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
- A Python library for maintaining and managing DANDI metadata schemata.
- The library helps create and validate DANDI schema-compliant metadata
- for Dandisets and assets. Every Dandiset and associated asset has a
- metadata object that can be retrieved using the DANDI API. This
- library uses Pydantic to implement all the metadata classes. Schemas
- are generated on schema modifications and placed into this repository.
- Dandischema generates JSON schema definitions and also an associated
- context.json file for JSON-LD compliance of the metadata models.
- </longdescription>
- <upstream>
- <remote-id type="github">dandi/dandischema</remote-id>
- <remote-id type="pypi">dandischema</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-02 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 0:48 [gentoo-commits] proj/sci:master commit in: dev-python/dandischema/, dev-python/dandischema/files/ Horea Christian
-- strict thread matches above, loose matches on Subject: below --
2022-05-02 8:02 Horea Christian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox