diff --git a/dev-python/numcodecs/Manifest b/dev-python/numcodecs/Manifest index b14e3311b9d..611e6d1be37 100644 --- a/dev-python/numcodecs/Manifest +++ b/dev-python/numcodecs/Manifest @@ -1,2 +1 @@ -DIST numcodecs-0.11.0.tar.gz 4512454 BLAKE2B 8144120856437ca272e275430c6e169d3e2a88c12c54f71518a7f262a77f13161f61e36b8da75abc0ab4efc02cf0807e86272c1bcf5e21bfb76fba7c4cbc8863 SHA512 cd0bcd87320e3c5a4cc97f8b6b11062361ce007c55bf23d07afab7a85df256bf7bc3f16d49958e9238901e70b26deb90faaa7a006207b6325fdbe225b99139d2 -DIST numcodecs-0.12.1.tar.gz 4091415 BLAKE2B d7fa8cc549495c7c54130898f2047eb409559541b299640fb34a2332d874049afa64d5c14151426b24a1ab04c0e0444245477aa26f9336ce3ba7aefc8043abcf SHA512 716a1144c17b08cc1737bd429517b5434a7e5dbc9626ed613ca9ab4f9cda356ed97cb4ef0e2bba747a7681dc5b43818cb07c6db7f5537b4910790f6ea23c696c +DIST numcodecs-0.13.0.tar.gz 5922216 BLAKE2B fbbdce2fdc2d3ae16afa7770c04330f21061436de3f1e09730d481e5bcfd3a2987717e7139049184824c690ff31e701b834a3757dc1b2e7ad62211795618664c SHA512 3a5f5d00374ff7e5efcac35b520ef92ace23f766983ac23e94cf69be0c2583e08849bdebd7f477b758692636ccbddf19cddd6c2462c29bec22f0c15f7341766c diff --git a/dev-python/numcodecs/numcodecs-0.11.0.ebuild b/dev-python/numcodecs/numcodecs-0.11.0.ebuild deleted file mode 100644 index 500a52b897f..00000000000 --- a/dev-python/numcodecs/numcodecs-0.11.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="Data storage buffer compression and transformation codecs" -HOMEPAGE="https://github.com/zarr-developers/numcodecs" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/entrypoints[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] -" - -DEPEND=" - test? ( - ${RDEPEND} - dev-python/entrypoints[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-nocov.patch" -) - -# Reported upstream: -# https://github.com/zarr-developers/numcodecs/issues/436 -EPYTEST_DESELECT=( - tests/test_json.py::test_non_numpy_inputs - tests/test_msgpacks.py::test_non_numpy_inputs -) - -distutils_enable_tests pytest - -python_test() { - cd "${T}" || die - epytest --pyargs numcodecs -} diff --git a/dev-python/numcodecs/numcodecs-0.12.1-r2.ebuild b/dev-python/numcodecs/numcodecs-0.13.0.ebuild similarity index 56% rename from dev-python/numcodecs/numcodecs-0.12.1-r2.ebuild rename to dev-python/numcodecs/numcodecs-0.13.0.ebuild index 3d20684ba64..6665aa2a101 100644 --- a/dev-python/numcodecs/numcodecs-0.12.1-r2.ebuild +++ b/dev-python/numcodecs/numcodecs-0.13.0.ebuild @@ -1,11 +1,13 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi + +inherit distutils-r1 pypi flag-o-matic DESCRIPTION="Data storage buffer compression and transformation codecs" HOMEPAGE="https://github.com/zarr-developers/numcodecs" @@ -24,19 +26,29 @@ RDEPEND=" " DEPEND=" test? ( - ${RDEPEND} dev-python/entrypoints[${PYTHON_USEDEP}] ) " -distutils_enable_tests pytest - python_compile() { - local -x DISABLE_NUMCODECS_AVX2=1 - local -x DISABLE_NUMCODECS_SSE2=1 + # undefined symbols upon zstd shared lib import otherwise + filter-flags -pipe distutils-r1_python_compile } +EPYTEST_DESELECT=( + # python segfault + tests/test_blosc.py::test_encode_decode + tests/test_blosc.py::test_partial_decode + tests/test_blosc.py::test_compress_metainfo + tests/test_blosc.py::test_compress_autoshuffle + tests/test_blosc.py::test_multiprocessing + tests/test_blosc.py::test_backwards_compatibility + tests/test_blosc.py::test_max_buffer_size +) + +distutils_enable_tests pytest + python_test() { cd "${T}" || die epytest --pyargs numcodecs