1 |
commit: 2d068d58447e110f30348f26360415aac2ec9ad9 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Wed Mar 30 07:37:36 2022 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Mar 30 07:37:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d068d58 |
7 |
|
8 |
dev-python/zarr: new package (DANDI stack) |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
dev-python/zarr/metadata.xml | 16 +++++++++++ |
14 |
dev-python/zarr/zarr-2.10.3.ebuild | 56 ++++++++++++++++++++++++++++++++++++++ |
15 |
dev-python/zarr/zarr-2.11.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 128 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/zarr/metadata.xml b/dev-python/zarr/metadata.xml |
19 |
new file mode 100644 |
20 |
index 000000000..036ff8b45 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/zarr/metadata.xml |
23 |
@@ -0,0 +1,16 @@ |
24 |
+<?xml version='1.0' encoding='UTF-8'?> |
25 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
+<pkgmetadata> |
27 |
+ <maintainer type="person"> |
28 |
+ <email>gentoo@×××××××.eu</email> |
29 |
+ <name>Horea Christian</name> |
30 |
+ </maintainer> |
31 |
+ <maintainer type="project"> |
32 |
+ <email>sci@g.o</email> |
33 |
+ <name>Gentoo Science Project</name> |
34 |
+ </maintainer> |
35 |
+ <upstream> |
36 |
+ <remote-id type="github">zarr-developers/zarr-python</remote-id> |
37 |
+ <remote-id type="pypi">zarr</remote-id> |
38 |
+ </upstream> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/dev-python/zarr/zarr-2.10.3.ebuild b/dev-python/zarr/zarr-2.10.3.ebuild |
42 |
new file mode 100644 |
43 |
index 000000000..9822cb161 |
44 |
--- /dev/null |
45 |
+++ b/dev-python/zarr/zarr-2.10.3.ebuild |
46 |
@@ -0,0 +1,56 @@ |
47 |
+# Copyright 1999-2022 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=8 |
51 |
+ |
52 |
+DISTUTILS_USE_PEP517=setuptools |
53 |
+PYTHON_COMPAT=( python3_{8..10} ) |
54 |
+ |
55 |
+inherit distutils-r1 |
56 |
+ |
57 |
+DESCRIPTION="Chunked, compressed, N-dimensional arrays for Python" |
58 |
+HOMEPAGE="https://github.com/zarr-developers/zarr-python" |
59 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
60 |
+ |
61 |
+LICENSE="MIT" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+IUSE="test" |
65 |
+RESTRICT="!test? ( test )" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ dev-python/asciitree[${PYTHON_USEDEP}] |
69 |
+ dev-python/fasteners[${PYTHON_USEDEP}] |
70 |
+ dev-python/numcodecs[${PYTHON_USEDEP}] |
71 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
72 |
+" |
73 |
+ |
74 |
+DEPEND=" |
75 |
+ test? ( |
76 |
+ dev-python/msgpack[${PYTHON_USEDEP}] |
77 |
+ ) |
78 |
+" |
79 |
+ |
80 |
+# Reported upsream |
81 |
+# https://github.com/zarr-developers/zarr-python/issues/961 |
82 |
+EPYTEST_DESELECT=( |
83 |
+ zarr/tests/test_core.py::TestArray::test_object_arrays_vlen_bytes |
84 |
+ zarr/tests/test_core.py::TestArrayWithPath::test_object_arrays_vlen_bytes |
85 |
+ zarr/tests/test_core.py::TestArrayWithChunkStore::test_object_arrays_vlen_bytes |
86 |
+ zarr/tests/test_core.py::TestArrayWithDirectoryStore::test_object_arrays_vlen_bytes |
87 |
+ zarr/tests/test_core.py::TestArrayWithNestedDirectoryStore::test_object_arrays_vlen_bytes |
88 |
+ zarr/tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_vlen_bytes |
89 |
+ zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_bytes |
90 |
+ zarr/tests/test_core.py::TestArrayWithNoCompressor::test_object_arrays_vlen_bytes |
91 |
+ zarr/tests/test_core.py::TestArrayWithBZ2Compressor::test_object_arrays_vlen_bytes |
92 |
+ zarr/tests/test_core.py::TestArrayWithBloscCompressor::test_object_arrays_vlen_bytes |
93 |
+ zarr/tests/test_core.py::TestArrayWithLZMACompressor::test_object_arrays_vlen_bytes |
94 |
+ zarr/tests/test_core.py::TestArrayWithCustomMapping::test_object_arrays_vlen_bytes |
95 |
+ zarr/tests/test_core.py::TestArrayNoCache::test_object_arrays_vlen_bytes |
96 |
+ zarr/tests/test_core.py::TestArrayWithStoreCache::test_object_arrays_vlen_bytes |
97 |
+ zarr/tests/test_sync.py::TestArray::test_object_arrays_vlen_bytes |
98 |
+ zarr/tests/test_sync.py::TestArrayWithThreadSynchronizer::test_object_arrays_vlen_bytes |
99 |
+ zarr/tests/test_sync.py::TestArrayWithProcessSynchronizer::test_object_arrays_vlen_bytes |
100 |
+) |
101 |
+ |
102 |
+distutils_enable_tests pytest |
103 |
|
104 |
diff --git a/dev-python/zarr/zarr-2.11.1.ebuild b/dev-python/zarr/zarr-2.11.1.ebuild |
105 |
new file mode 100644 |
106 |
index 000000000..9822cb161 |
107 |
--- /dev/null |
108 |
+++ b/dev-python/zarr/zarr-2.11.1.ebuild |
109 |
@@ -0,0 +1,56 @@ |
110 |
+# Copyright 1999-2022 Gentoo Authors |
111 |
+# Distributed under the terms of the GNU General Public License v2 |
112 |
+ |
113 |
+EAPI=8 |
114 |
+ |
115 |
+DISTUTILS_USE_PEP517=setuptools |
116 |
+PYTHON_COMPAT=( python3_{8..10} ) |
117 |
+ |
118 |
+inherit distutils-r1 |
119 |
+ |
120 |
+DESCRIPTION="Chunked, compressed, N-dimensional arrays for Python" |
121 |
+HOMEPAGE="https://github.com/zarr-developers/zarr-python" |
122 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
123 |
+ |
124 |
+LICENSE="MIT" |
125 |
+SLOT="0" |
126 |
+KEYWORDS="~amd64 ~x86" |
127 |
+IUSE="test" |
128 |
+RESTRICT="!test? ( test )" |
129 |
+ |
130 |
+RDEPEND=" |
131 |
+ dev-python/asciitree[${PYTHON_USEDEP}] |
132 |
+ dev-python/fasteners[${PYTHON_USEDEP}] |
133 |
+ dev-python/numcodecs[${PYTHON_USEDEP}] |
134 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
135 |
+" |
136 |
+ |
137 |
+DEPEND=" |
138 |
+ test? ( |
139 |
+ dev-python/msgpack[${PYTHON_USEDEP}] |
140 |
+ ) |
141 |
+" |
142 |
+ |
143 |
+# Reported upsream |
144 |
+# https://github.com/zarr-developers/zarr-python/issues/961 |
145 |
+EPYTEST_DESELECT=( |
146 |
+ zarr/tests/test_core.py::TestArray::test_object_arrays_vlen_bytes |
147 |
+ zarr/tests/test_core.py::TestArrayWithPath::test_object_arrays_vlen_bytes |
148 |
+ zarr/tests/test_core.py::TestArrayWithChunkStore::test_object_arrays_vlen_bytes |
149 |
+ zarr/tests/test_core.py::TestArrayWithDirectoryStore::test_object_arrays_vlen_bytes |
150 |
+ zarr/tests/test_core.py::TestArrayWithNestedDirectoryStore::test_object_arrays_vlen_bytes |
151 |
+ zarr/tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_vlen_bytes |
152 |
+ zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_bytes |
153 |
+ zarr/tests/test_core.py::TestArrayWithNoCompressor::test_object_arrays_vlen_bytes |
154 |
+ zarr/tests/test_core.py::TestArrayWithBZ2Compressor::test_object_arrays_vlen_bytes |
155 |
+ zarr/tests/test_core.py::TestArrayWithBloscCompressor::test_object_arrays_vlen_bytes |
156 |
+ zarr/tests/test_core.py::TestArrayWithLZMACompressor::test_object_arrays_vlen_bytes |
157 |
+ zarr/tests/test_core.py::TestArrayWithCustomMapping::test_object_arrays_vlen_bytes |
158 |
+ zarr/tests/test_core.py::TestArrayNoCache::test_object_arrays_vlen_bytes |
159 |
+ zarr/tests/test_core.py::TestArrayWithStoreCache::test_object_arrays_vlen_bytes |
160 |
+ zarr/tests/test_sync.py::TestArray::test_object_arrays_vlen_bytes |
161 |
+ zarr/tests/test_sync.py::TestArrayWithThreadSynchronizer::test_object_arrays_vlen_bytes |
162 |
+ zarr/tests/test_sync.py::TestArrayWithProcessSynchronizer::test_object_arrays_vlen_bytes |
163 |
+) |
164 |
+ |
165 |
+distutils_enable_tests pytest |