commit:     040374dfed5d1a52443fcde40440f4d7c4f2edb6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  8 14:40:13 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec  8 16:54:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=040374df

dev-python/blosc: Bump to 1.11.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/blosc/Manifest            |  1 +
 dev-python/blosc/blosc-1.11.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest
index 3e4bd98e47ad..d30dd2914f04 100644
--- a/dev-python/blosc/Manifest
+++ b/dev-python/blosc/Manifest
@@ -1 +1,2 @@
 DIST python-blosc-1.10.6.gh.tar.gz 1570504 BLAKE2B 
44f444fa5050a6198e83649973fc82d6804eec50bf79c332ed6a974e417f2a58baf09480a9bb5c5b7abcef2a961cd7bc61f962c12db625b1a7c48799ace0b39a
 SHA512 
e283b132ebb91e7ce362ec65a1d6760e3793046371ea545a9e842372084182bcc194c3a0e1cb20914de58554063995a238ea0a129214731689e8cd5f4203d3ed
+DIST python-blosc-1.11.0.gh.tar.gz 111589 BLAKE2B 
6bc5dda4e40ceb9770dd5b6e6db1fced42e257475b220bcb530c8b291bf132f61013ece5934a7d47778fdac716fcea0e6d57b7543b1cc76ccd95201cad072bdd
 SHA512 
94c6f470b9f6e8d1fec0e44709e84582cd595291dddcd07ea174665a6fc12e029c6f0c781c8e506e95d4f9ee9fc27cbbfb5bc2789f341df3e84f342626dcfdb0

diff --git a/dev-python/blosc/blosc-1.11.0.ebuild 
b/dev-python/blosc/blosc-1.11.0.ebuild
new file mode 100644
index 000000000000..b7526777e9b2
--- /dev/null
+++ b/dev-python/blosc/blosc-1.11.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+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}
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~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_test() {
+       "${EPYTHON}" -m blosc.test -v || die
+}

Reply via email to