commit: 8a5bd2ad0fd0fc216e4dd1b0d5b014a2ab1cf555
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 02:28:47 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 02:28:47 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5bd2ad
dev-python/blosc: Bump to 1.11.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/blosc/Manifest | 1 +
dev-python/blosc/blosc-1.11.3.ebuild | 63 ++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest
index 16659d2bec3f..2b50372f9121 100644
--- a/dev-python/blosc/Manifest
+++ b/dev-python/blosc/Manifest
@@ -1 +1,2 @@
DIST python-blosc-1.11.2.gh.tar.gz 99160 BLAKE2B
79176961221a2dcdf389165b3ed0e629201605f806aca3e1ada1dd9b35c1acf13ea7fa6692a762f5e31270df327751642256a1c5bafb14fbed48ef69c6b9745c
SHA512
56a53828669ac9d1452b247b8aad6bdfcb71ecffe9b8c7723e4405825704506946f150f54633b7e0886160255e5619c698b97847963c909e14c97808c04f39ab
+DIST python-blosc-1.11.3.gh.tar.gz 99129 BLAKE2B
e75262a25767a800b73e87bbfe46e107380647df6e3bba4dee32a4111afed11ec3c779e0dae1c8f38491015e6f23199945997ac5a5c5311256a7e5efad4c1654
SHA512
fc82b7b100d306965874868b2a0b1b6a9b865f1ba86ce65546aeb8212ba5085ef7a565f46ac3b40f648641d449d9f5265087ca8670075221ba8018dc8efd7be4
diff --git a/dev-python/blosc/blosc-1.11.3.ebuild
b/dev-python/blosc/blosc-1.11.3.ebuild
new file mode 100644
index 000000000000..1ff033252710
--- /dev/null
+++ b/dev-python/blosc/blosc-1.11.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1
+
+MY_P=python-blosc-${PV}
+DESCRIPTION="High performance compressor optimized for binary data"
+HOMEPAGE="
+ https://www.blosc.org/
+ https://github.com/Blosc/python-blosc/
+ https://pypi.org/project/blosc/
+"
+SRC_URI="
+ https://github.com/Blosc/python-blosc/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86
~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/c-blosc-1.19.0:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+# py-cpuinfo dep is irrelevant for us, as it is only used to configure
+# bundled c-blosc build
+BDEPEND="
+ dev-python/scikit-build[${PYTHON_USEDEP}]
+ test? (
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst )
+
+src_configure() {
+ export USE_SYSTEM_BLOSC=1
+ export BLOSC_DIR="${EPREFIX}/usr"
+}
+
+python_compile() {
+ distutils-r1_python_compile
+
+ # scikit-build is broken and reuses the same build
+ # https://github.com/scikit-build/scikit-build/issues/633
+ rm -r _skbuild || die
+}
+
+python_test() {
+ "${EPYTHON}" -m blosc.test -v || die
+}