summaryrefslogtreecommitdiff
path: root/dev-python/blosc
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/blosc
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/blosc')
-rw-r--r--dev-python/blosc/Manifest1
-rw-r--r--dev-python/blosc/blosc-1.11.4.ebuild63
-rw-r--r--dev-python/blosc/metadata.xml22
3 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest
new file mode 100644
index 000000000000..008fa2aac36c
--- /dev/null
+++ b/dev-python/blosc/Manifest
@@ -0,0 +1 @@
+DIST python-blosc-1.11.4.gh.tar.gz 99206 BLAKE2B b4a9775b08d736a8b46a26b6a7f34a60fdbc3cc588d48ee2ed5de0bb402fdd49bc17a5ad4678dd4b104480970ce0c9c5a90244ddfd380b583129dc94dcfd53b7 SHA512 52f5accc2ac710998d2e4345588fe3b7d16ed841b2cc17f77df4e95a0f1f30abd6293ca2b320baf71c9e4e7d5425107b1a718859b9cf8af80d45b457759cf744
diff --git a/dev-python/blosc/blosc-1.11.4.ebuild b/dev-python/blosc/blosc-1.11.4.ebuild
new file mode 100644
index 000000000000..d2cfb903a1f0
--- /dev/null
+++ b/dev-python/blosc/blosc-1.11.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+MY_P=python-blosc-${PV}
+DESCRIPTION="High performance compressor optimized for binary data"
+HOMEPAGE="
+ https://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"
+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
+}
diff --git a/dev-python/blosc/metadata.xml b/dev-python/blosc/metadata.xml
new file mode 100644
index 000000000000..ea9f4f5b757a
--- /dev/null
+++ b/dev-python/blosc/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ blosc is a high performance compressor optimized for binary
+ data. It has been designed to transmit data to the processor cache
+ faster than the traditional, non-compressed, direct memory fetch
+ approach via a memcpy() OS call. Blosc works well for compressing
+ numerical arrays that contains data with relatively low entropy,
+ like sparse data, time series, grids with regular-spaced values,
+ etc. This is the python wrapper.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>