Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/numcodecs: version bump 0.13.0 #1289

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions dev-python/numcodecs/Manifest
Original file line number Diff line number Diff line change
@@ -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
49 changes: 0 additions & 49 deletions dev-python/numcodecs/numcodecs-0.11.0.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Comment on lines -35 to -36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be conditional to CPU_FLAGS_X86_SSE2 and CPU_FLAGS_X86_AVX2

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
Expand Down
Loading