aboutsummaryrefslogtreecommitdiff
blob: 50ec85404c1c51582e42299ac1ffb92105acf6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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="Chunked, compressed, N-dimensional arrays for Python"
HOMEPAGE="https://github.com/zarr-developers/zarr-python"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-python/asciitree[${PYTHON_USEDEP}]
	dev-python/fasteners[${PYTHON_USEDEP}]
	>=dev-python/numcodecs-0.6.4[${PYTHON_USEDEP}]
	>=dev-python/numpy-1.7[${PYTHON_USEDEP}]
"

DEPEND="
	test? (
		dev-python/msgpack[${PYTHON_USEDEP}]
	)
"

# Reported upsream
# https://github.com/zarr-developers/zarr-python/issues/961
EPYTEST_DESELECT=(
	zarr/tests/test_core.py::TestArray::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithPath::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithChunkStore::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithDirectoryStore::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithNestedDirectoryStore::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithNoCompressor::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithBZ2Compressor::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithBloscCompressor::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithLZMACompressor::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithCustomMapping::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayNoCache::test_object_arrays_vlen_bytes
	zarr/tests/test_core.py::TestArrayWithStoreCache::test_object_arrays_vlen_bytes
	zarr/tests/test_sync.py::TestArray::test_object_arrays_vlen_bytes
	zarr/tests/test_sync.py::TestArrayWithThreadSynchronizer::test_object_arrays_vlen_bytes
	zarr/tests/test_sync.py::TestArrayWithProcessSynchronizer::test_object_arrays_vlen_bytes
)

distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/numpydoc dev-python/sphinx-issues dev-python/sphinx_rtd_theme