Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/zarr/
Date: Mon, 02 May 2022 12:05:14
Message-Id: 1651493106.e0b3f9f7470d470b1432ce9c66ed4be829e82c08.andrewammerlaan@gentoo
1 commit: e0b3f9f7470d470b1432ce9c66ed4be829e82c08
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 12:04:53 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 12:05:06 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e0b3f9f7
7
8 dev-python/zarr: add 2.11.3
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/zarr/zarr-2.11.3.ebuild | 57 ++++++++++++++++++++++++++++++++++++++
13 1 file changed, 57 insertions(+)
14
15 diff --git a/dev-python/zarr/zarr-2.11.3.ebuild b/dev-python/zarr/zarr-2.11.3.ebuild
16 new file mode 100644
17 index 000000000..50ec85404
18 --- /dev/null
19 +++ b/dev-python/zarr/zarr-2.11.3.ebuild
20 @@ -0,0 +1,57 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Chunked, compressed, N-dimensional arrays for Python"
32 +HOMEPAGE="https://github.com/zarr-developers/zarr-python"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE="test"
39 +RESTRICT="!test? ( test )"
40 +
41 +RDEPEND="
42 + dev-python/asciitree[${PYTHON_USEDEP}]
43 + dev-python/fasteners[${PYTHON_USEDEP}]
44 + >=dev-python/numcodecs-0.6.4[${PYTHON_USEDEP}]
45 + >=dev-python/numpy-1.7[${PYTHON_USEDEP}]
46 +"
47 +
48 +DEPEND="
49 + test? (
50 + dev-python/msgpack[${PYTHON_USEDEP}]
51 + )
52 +"
53 +
54 +# Reported upsream
55 +# https://github.com/zarr-developers/zarr-python/issues/961
56 +EPYTEST_DESELECT=(
57 + zarr/tests/test_core.py::TestArray::test_object_arrays_vlen_bytes
58 + zarr/tests/test_core.py::TestArrayWithPath::test_object_arrays_vlen_bytes
59 + zarr/tests/test_core.py::TestArrayWithChunkStore::test_object_arrays_vlen_bytes
60 + zarr/tests/test_core.py::TestArrayWithDirectoryStore::test_object_arrays_vlen_bytes
61 + zarr/tests/test_core.py::TestArrayWithNestedDirectoryStore::test_object_arrays_vlen_bytes
62 + zarr/tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_vlen_bytes
63 + zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_bytes
64 + zarr/tests/test_core.py::TestArrayWithNoCompressor::test_object_arrays_vlen_bytes
65 + zarr/tests/test_core.py::TestArrayWithBZ2Compressor::test_object_arrays_vlen_bytes
66 + zarr/tests/test_core.py::TestArrayWithBloscCompressor::test_object_arrays_vlen_bytes
67 + zarr/tests/test_core.py::TestArrayWithLZMACompressor::test_object_arrays_vlen_bytes
68 + zarr/tests/test_core.py::TestArrayWithCustomMapping::test_object_arrays_vlen_bytes
69 + zarr/tests/test_core.py::TestArrayNoCache::test_object_arrays_vlen_bytes
70 + zarr/tests/test_core.py::TestArrayWithStoreCache::test_object_arrays_vlen_bytes
71 + zarr/tests/test_sync.py::TestArray::test_object_arrays_vlen_bytes
72 + zarr/tests/test_sync.py::TestArrayWithThreadSynchronizer::test_object_arrays_vlen_bytes
73 + zarr/tests/test_sync.py::TestArrayWithProcessSynchronizer::test_object_arrays_vlen_bytes
74 +)
75 +
76 +distutils_enable_tests pytest
77 +distutils_enable_sphinx docs dev-python/numpydoc dev-python/sphinx-issues dev-python/sphinx_rtd_theme