diff --git a/dev-python/donfig/donfig-0.8.1_p1.ebuild b/dev-python/donfig/donfig-0.8.1_p1.ebuild index 77f0e74bfef..d341668219f 100644 --- a/dev-python/donfig/donfig-0.8.1_p1.ebuild +++ b/dev-python/donfig/donfig-0.8.1_p1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 diff --git a/dev-python/google-crc32c/Manifest b/dev-python/google-crc32c/Manifest new file mode 100644 index 00000000000..04ef92ebbd5 --- /dev/null +++ b/dev-python/google-crc32c/Manifest @@ -0,0 +1 @@ +DIST google-crc32c-1.8.0.gh.tar.gz 65739 BLAKE2B 84b1ccfb6f78a073c17102624fb16fba28fc300a85cbc5c4729d87dfcef0d36d6654216c19490c4d59c8b0f0cfda76bd54bcb0987de08e2246188c3104843f8e SHA512 bcfba53d9d859ebc32d15698caf259674a85935a44ddf1a3edcdccbee85d8fc6ad8154afe78ae8c7e41188188b98b276d2a39cfcc9c21c9ad61e9922f68ebf95 diff --git a/dev-python/google-crc32c/google-crc32c-1.8.0.ebuild b/dev-python/google-crc32c/google-crc32c-1.8.0.ebuild new file mode 100644 index 00000000000..5aa77b0f76e --- /dev/null +++ b/dev-python/google-crc32c/google-crc32c-1.8.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="A python wrapper of the C library crc32c" +HOMEPAGE="https://github.com/googleapis/python-crc32c" +SRC_URI="https://github.com/googleapis/python-crc32c/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-crc32c-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/crc32c" +DEPEND="${RDEPEND}" + +python_compile() { + local -x CRC32C_PURE_PYTHON=0 + distutils-r1_python_compile +} + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/google-crc32c/metadata.xml b/dev-python/google-crc32c/metadata.xml new file mode 100644 index 00000000000..c7bcf3a1197 --- /dev/null +++ b/dev-python/google-crc32c/metadata.xml @@ -0,0 +1,12 @@ + + + + + mschu.dev@gmail.com + Michael Schubert + + + googleapis/python-crc32c + google-crc32c + + diff --git a/dev-python/numcodecs/Manifest b/dev-python/numcodecs/Manifest index 1ed5878d96d..eb4d75cf1ef 100644 --- a/dev-python/numcodecs/Manifest +++ b/dev-python/numcodecs/Manifest @@ -1 +1 @@ -DIST numcodecs-0.16.1.tar.gz 6268134 BLAKE2B 800124f0f9ea8c93cdb356077c59bda518fb694142f4ebe20fa482b2a6fdf76326cf6c31ee2f29a2bf4654353b56b109508a220b32ce09e3404945ef37eb90a2 SHA512 eff375c2ef3429f7db2d948cd5764e593745a0e0f78eb5dc81cb24ad43abc5dfa21c0d60a8b966ad1589b2cf127e5f57aa3854ba0077c0f1dd524c5540f22e93 +DIST numcodecs-0.16.5.tar.gz 6276387 BLAKE2B 5fcfb5ebe681a612f7d35e64f34afd94697338e783b87dc27aa17638cfebb3fba35c0163e679d236c060e2cbb9606a19043ec7276d350f4aa7d33ac0b70c9629 SHA512 8a89808bda5b2dde983169127ce8dcc2edd943e9bcbf4b4aa6b0318e4d05937db81b0c18497e19f2baae729ab72be501d7eff6977fc519e6fe8d1a767026d13d diff --git a/dev-python/numcodecs/files/c-blosc-1.21.4-c23.patch b/dev-python/numcodecs/files/c-blosc-1.21.4-c23.patch deleted file mode 100644 index d1a086a7d45..00000000000 --- a/dev-python/numcodecs/files/c-blosc-1.21.4-c23.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://bugs.gentoo.org/946283 -https://github.com/Blosc/c-blosc/pull/392 - -From 774f6a0ebaa0c617f7f13ccf6bc89d17eba04654 Mon Sep 17 00:00:00 2001 -From: Georg Semmler -Date: Thu, 17 Apr 2025 10:19:25 +0200 -Subject: [PATCH] Drop a slightly outdated type def for boolean type - -This cases compilation errors with gcc 15 with the following error -message: - -c-blosc/blosc/shuffle.c:26:15: error: 'bool' cannot be defined via 'typedef' - | typedef _Bool bool; - | ^~~~ -c-blosc/blosc/shuffle.c:26:15: note: 'bool' is a keyword with '-std=c23' onwards - -See https://gcc.gnu.org/gcc-15/porting_to.html for details - -I've choosen to remove the typedef as it seems to be unused in this -file. ---- - blosc/shuffle.c | 10 ---------- - 1 file changed, 10 deletions(-) - -diff --git a/blosc/shuffle.c b/blosc/shuffle.c -index e680a173..9e3ee3e3 100644 ---- a/c-blosc/blosc/shuffle.c -+++ b/c-blosc/blosc/shuffle.c -@@ -20,16 +20,6 @@ - #include - #endif - --/* Visual Studio < 2013 does not have stdbool.h so here it is a replacement: */ --#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L --/* have a C99 compiler */ --typedef _Bool bool; --#else --/* do not have a C99 compiler */ --typedef unsigned char bool; --#endif -- -- - #if !defined(__clang__) && defined(__GNUC__) && defined(__GNUC_MINOR__) && \ - __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) - #define HAVE_CPU_FEAT_INTRIN - diff --git a/dev-python/numcodecs/numcodecs-0.16.1.ebuild b/dev-python/numcodecs/numcodecs-0.16.5.ebuild similarity index 88% rename from dev-python/numcodecs/numcodecs-0.16.1.ebuild rename to dev-python/numcodecs/numcodecs-0.16.5.ebuild index e35dafe698f..06d3ea506a5 100644 --- a/dev-python/numcodecs/numcodecs-0.16.1.ebuild +++ b/dev-python/numcodecs/numcodecs-0.16.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{12..13} ) +PYTHON_COMPAT=( python3_{12..14} ) DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools @@ -26,12 +26,13 @@ RDEPEND=" DEPEND=" test? ( dev-python/entrypoints[${PYTHON_USEDEP}] + dev-python/pyzstd[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] ) " PATCHES=( "${FILESDIR}/${PN}-0.15.1-nocov.patch" - "${FILESDIR}/c-blosc-1.21.4-c23.patch" ) distutils_enable_tests pytest diff --git a/dev-python/zarr/Manifest b/dev-python/zarr/Manifest index dd7f87c5d7f..949608e9535 100644 --- a/dev-python/zarr/Manifest +++ b/dev-python/zarr/Manifest @@ -1 +1 @@ -DIST zarr-3.0.10.gh.tar.gz 1228122 BLAKE2B 4fbe034c4f10a69d8c80e688ebbecb2fe597090ab483de8f96a40489e90d0c4b568c22579ddae325be307d30b50ec9fa29eb73ef45a052b20664c51e880be189 SHA512 e2b71cddf723841dfaa6fb4d5132bce423821988479ef2de616ca0ed221f730afe6d4b2f184a9c0df90e0a330f0c3815a6baf30ef76c7f6d9530f4b327950bff +DIST zarr-3.1.5.gh.tar.gz 536013 BLAKE2B 0b118bc7fa58cddd5d809346b4845219991e4bc872e755a38509c31876b565fb9327c62b2c3e7d99eb0d1f921a135ec61b87c0f5e7db7c330238571d5585c3dc SHA512 d10e9f61f0bd936c2389fc22af78cfa43876c021d525cd6f83b7972e3e7c3479a743beb3947673729af9dff3c6b25f70142ba1e5407888557cde1d2826d39ddb diff --git a/dev-python/zarr/zarr-3.0.10.ebuild b/dev-python/zarr/zarr-3.1.5.ebuild similarity index 84% rename from dev-python/zarr/zarr-3.0.10.ebuild rename to dev-python/zarr/zarr-3.1.5.ebuild index 4ad69b0e158..75036ca764c 100644 --- a/dev-python/zarr/zarr-3.0.10.ebuild +++ b/dev-python/zarr/zarr-3.1.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{12..13} ) +PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - dev-python/crc32c[${PYTHON_USEDEP}] + dev-python/google-crc32c[${PYTHON_USEDEP}] dev-python/donfig[${PYTHON_USEDEP}] >=dev-python/numcodecs-0.14[${PYTHON_USEDEP}] >=dev-python/numpy-1.25[${PYTHON_USEDEP}] @@ -30,6 +30,8 @@ DEPEND=" dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/hypothesis[${PYTHON_USEDEP}] dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/numpydoc[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] ) "