commit:     fec0f089099491e84e8f4460c7cf30e9cb2c4d85
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 14:21:45 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 15:19:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec0f089

dev-python/blosc: Bump to 1.10.6

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

 dev-python/blosc/Manifest            |  1 +
 dev-python/blosc/blosc-1.10.6.ebuild | 52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest
index 5ebf8a4203c7..ea85fd082422 100644
--- a/dev-python/blosc/Manifest
+++ b/dev-python/blosc/Manifest
@@ -1 +1,2 @@
 DIST python-blosc-1.10.5.gh.tar.gz 1570462 BLAKE2B 
e2ee3cc3827e1df89afc97a0cdc3f07670368d2edfea9b6ae32ecbb74b464d5311bbd7b129b3b94fb91d20fd579425859412665de397facd4c119e429fbcd014
 SHA512 
75b91e50def65ecbbdd29f7b7aba65c6ca611eeeaa9e55583c0253eda5d1e1ab7d899d0c77c45ae999188f701205f20d8c8ed130a3865433edd87db3c0eeebb0
+DIST python-blosc-1.10.6.gh.tar.gz 1570504 BLAKE2B 
44f444fa5050a6198e83649973fc82d6804eec50bf79c332ed6a974e417f2a58baf09480a9bb5c5b7abcef2a961cd7bc61f962c12db625b1a7c48799ace0b39a
 SHA512 
e283b132ebb91e7ce362ec65a1d6760e3793046371ea545a9e842372084182bcc194c3a0e1cb20914de58554063995a238ea0a129214731689e8cd5f4203d3ed

diff --git a/dev-python/blosc/blosc-1.10.6.ebuild 
b/dev-python/blosc/blosc-1.10.6.ebuild
new file mode 100644
index 000000000000..8ddbc8544d36
--- /dev/null
+++ b/dev-python/blosc/blosc-1.10.6.ebuild
@@ -0,0 +1,52 @@
+# 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..10} )
+
+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}
+"
+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