1 |
commit: a67a1c84befd9b4a6653b197d1f5686e223b7cbb |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Fri Oct 29 11:58:58 2021 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Oct 29 11:58:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a67a1c84 |
7 |
|
8 |
dev-python/hdmf: new package (DANDI stack) |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
.../hdmf/files/hdmf-3.1.1-new_jsonschema.patch | 10 +++++++ |
14 |
dev-python/hdmf/hdmf-3.1.1.ebuild | 32 ++++++++++++++++++++++ |
15 |
dev-python/hdmf/metadata.xml | 18 ++++++++++++ |
16 |
3 files changed, 60 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 000000000..989332bb5 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/hdmf/files/hdmf-3.1.1-new_jsonschema.patch |
23 |
@@ -0,0 +1,10 @@ |
24 |
+--- a/setup.py 2021-09-24 00:51:55.892741725 -0400 |
25 |
++++ b/setup.py 2021-10-27 14:33:20.733741241 -0400 |
26 |
+@@ -23,7 +23,7 @@ |
27 |
+ 'scipy>=1.1,<2', |
28 |
+ 'pandas>=1.0.5,<2', |
29 |
+ 'ruamel.yaml>=0.16,<1', |
30 |
+- 'jsonschema>=2.6.0,<4', |
31 |
++ 'jsonschema>=2.6.0', |
32 |
+ 'setuptools', |
33 |
+ ] |
34 |
|
35 |
diff --git a/dev-python/hdmf/hdmf-3.1.1.ebuild b/dev-python/hdmf/hdmf-3.1.1.ebuild |
36 |
new file mode 100644 |
37 |
index 000000000..1731b0d90 |
38 |
--- /dev/null |
39 |
+++ b/dev-python/hdmf/hdmf-3.1.1.ebuild |
40 |
@@ -0,0 +1,32 @@ |
41 |
+# Copyright 1999-2021 Gentoo Authors |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+ |
44 |
+EAPI=8 |
45 |
+ |
46 |
+PYTHON_COMPAT=( python3_{8..10} ) |
47 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
48 |
+inherit distutils-r1 |
49 |
+ |
50 |
+DESCRIPTION="The Hierarchical Data Modeling Framework" |
51 |
+HOMEPAGE="https://github.com/hdmf-dev/hdmf" |
52 |
+SRC_URI="https://github.com/hdmf-dev/hdmf/releases/download/${PV}/${P}.tar.gz" |
53 |
+ |
54 |
+SLOT="0" |
55 |
+LICENSE="BSD" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-python/h5py[${PYTHON_USEDEP}] |
60 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
61 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
62 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
63 |
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}] |
64 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
65 |
+ " |
66 |
+BDEPEND="" |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+PATCHES=( |
71 |
+ "${FILESDIR}/${PN}-3.1.1-new_jsonschema.patch" |
72 |
+) |
73 |
|
74 |
diff --git a/dev-python/hdmf/metadata.xml b/dev-python/hdmf/metadata.xml |
75 |
new file mode 100644 |
76 |
index 000000000..82da7c426 |
77 |
--- /dev/null |
78 |
+++ b/dev-python/hdmf/metadata.xml |
79 |
@@ -0,0 +1,18 @@ |
80 |
+<?xml version='1.0' encoding='UTF-8'?> |
81 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
82 |
+<pkgmetadata> |
83 |
+ <maintainer type="person"> |
84 |
+ <email>gentoo@×××××××.eu</email> |
85 |
+ <name>Horea Christian</name> |
86 |
+ </maintainer> |
87 |
+ <maintainer type="project"> |
88 |
+ <email>sci@g.o</email> |
89 |
+ <name>Gentoo Science Project</name> |
90 |
+ </maintainer> |
91 |
+ <longdescription lang="en"> |
92 |
+ The Hierarchical Data Modeling Framework, or HDMF, is a Python package |
93 |
+ for working with hierarchical data. It provides APIs for specifying |
94 |
+ data models, reading and writing data to different storage backends, |
95 |
+ and representing data with Python object. |
96 |
+ </longdescription> |
97 |
+</pkgmetadata> |