commit:     a67a1c84befd9b4a6653b197d1f5686e223b7cbb
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Oct 29 11:58:58 2021 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Oct 29 11:58:58 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a67a1c84

dev-python/hdmf: new package (DANDI stack)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../hdmf/files/hdmf-3.1.1-new_jsonschema.patch     | 10 +++++++
 dev-python/hdmf/hdmf-3.1.1.ebuild                  | 32 ++++++++++++++++++++++
 dev-python/hdmf/metadata.xml                       | 18 ++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-python/hdmf/files/hdmf-3.1.1-new_jsonschema.patch 
b/dev-python/hdmf/files/hdmf-3.1.1-new_jsonschema.patch
new file mode 100644
index 000000000..989332bb5
--- /dev/null
+++ b/dev-python/hdmf/files/hdmf-3.1.1-new_jsonschema.patch
@@ -0,0 +1,10 @@
+--- a/setup.py 2021-09-24 00:51:55.892741725 -0400
++++ b/setup.py 2021-10-27 14:33:20.733741241 -0400
+@@ -23,7 +23,7 @@
+     'scipy>=1.1,<2',
+     'pandas>=1.0.5,<2',
+     'ruamel.yaml>=0.16,<1',
+-    'jsonschema>=2.6.0,<4',
++    'jsonschema>=2.6.0',
+     'setuptools',
+ ]

diff --git a/dev-python/hdmf/hdmf-3.1.1.ebuild 
b/dev-python/hdmf/hdmf-3.1.1.ebuild
new file mode 100644
index 000000000..1731b0d90
--- /dev/null
+++ b/dev-python/hdmf/hdmf-3.1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="The Hierarchical Data Modeling Framework"
+HOMEPAGE="https://github.com/hdmf-dev/hdmf";
+SRC_URI="https://github.com/hdmf-dev/hdmf/releases/download/${PV}/${P}.tar.gz";
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/h5py[${PYTHON_USEDEP}]
+       dev-python/jsonschema[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pandas[${PYTHON_USEDEP}]
+       dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+       dev-python/scipy[${PYTHON_USEDEP}]
+       "
+BDEPEND=""
+
+distutils_enable_tests pytest
+
+PATCHES=(
+       "${FILESDIR}/${PN}-3.1.1-new_jsonschema.patch"
+)

diff --git a/dev-python/hdmf/metadata.xml b/dev-python/hdmf/metadata.xml
new file mode 100644
index 000000000..82da7c426
--- /dev/null
+++ b/dev-python/hdmf/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>gen...@chymera.eu</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <longdescription lang="en">
+               The Hierarchical Data Modeling Framework, or HDMF, is a Python 
package
+               for working with hierarchical data. It provides APIs for 
specifying
+               data models, reading and writing data to different storage 
backends,
+               and representing data with Python object.
+       </longdescription>
+</pkgmetadata>

Reply via email to