diff --git a/dev-python/zarr/Manifest b/dev-python/zarr/Manifest index c57ba29..15b2562 100644 --- a/dev-python/zarr/Manifest +++ b/dev-python/zarr/Manifest @@ -1 +1,2 @@ DIST zarr-2.10.3.tar.gz 3484571 SHA256 76932665c2146ebdf15f6dba254f9e0030552fbfcf9322dea822bff96fbce693 SHA512 949391b65e234d5ae18188c16497145314392d69037b88512626a6e762f920a70badcb36bbb69d66291e9422a5cdacaae318c5c30ebab3d93ab83e37b56d5fca WHIRLPOOL 97593f9bf17c43febe1cca70ea99888e36c7b528914cc0b7b58759c67f8a8cd205bb607a90850f38b43938b1fba3830de1de78a0d4d8fe540d479c647b51ecba +DIST zarr-2.11.1.tar.gz 3492813 SHA256 11b628f42dec36e0147879e8bd471524b59b238094b9b21e3c35be78399c115e SHA512 e0079a69f65a1bc230049469f50bf52af036d85d84f7c163ecdc2a4a8d7b75b07b59c1fcdecd83f578682914a6463641e9341d2c18f939c57f1e78f298f6b7ea WHIRLPOOL 2074133b90aa4d4ee5637968292e9e4128d1ca620490dc8b4bafbd5b52fcc5461d164d11f2830efd25b3ce496c6ed29aa9093a6a041c58b00dd5926b414a21ed diff --git a/dev-python/zarr/metadata.xml b/dev-python/zarr/metadata.xml index f6f63a8..036ff8b 100644 --- a/dev-python/zarr/metadata.xml +++ b/dev-python/zarr/metadata.xml @@ -9,4 +9,8 @@ sci@gentoo.org Gentoo Science Project + + zarr-developers/zarr-python + zarr + diff --git a/dev-python/zarr/zarr-2.10.3.ebuild b/dev-python/zarr/zarr-2.10.3.ebuild index f13a4d0..9822cb1 100644 --- a/dev-python/zarr/zarr-2.10.3.ebuild +++ b/dev-python/zarr/zarr-2.10.3.ebuild @@ -3,10 +3,9 @@ EAPI=8 -#MY_PN="${PN}-python" - +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS=pyproject.toml + inherit distutils-r1 DESCRIPTION="Chunked, compressed, N-dimensional arrays for Python" @@ -17,8 +16,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" -# Tests fail: -# https://github.com/zarr-developers/zarr-python/issues/961 RESTRICT="!test? ( test )" RDEPEND=" @@ -34,4 +31,26 @@ DEPEND=" ) " +# 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 diff --git a/dev-python/zarr/zarr-2.11.1.ebuild b/dev-python/zarr/zarr-2.11.1.ebuild new file mode 100644 index 0000000..9822cb1 --- /dev/null +++ b/dev-python/zarr/zarr-2.11.1.ebuild @@ -0,0 +1,56 @@ +# 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[${PYTHON_USEDEP}] + dev-python/numpy[${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