diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-16 10:59:22 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-16 12:31:28 +0100 |
commit | 55d924e1e83e957641649f05121373ac93d43372 (patch) | |
tree | aa838929126d38d78e77d8cb8a35c5a3b1115920 /dev-python/blosc | |
parent | dev-python/fakeredis: Bump to 2.3.0 (diff) | |
download | gentoo-55d924e1e83e957641649f05121373ac93d43372.tar.gz gentoo-55d924e1e83e957641649f05121373ac93d43372.tar.bz2 gentoo-55d924e1e83e957641649f05121373ac93d43372.zip |
dev-python/blosc: Bump to 1.11.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/blosc')
-rw-r--r-- | dev-python/blosc/Manifest | 1 | ||||
-rw-r--r-- | dev-python/blosc/blosc-1.11.1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index d30dd2914f04..211b034fd612 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1,2 +1,3 @@ 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 +DIST python-blosc-1.11.1.gh.tar.gz 111262 BLAKE2B cb348253a24258d2649ebc0604acbf936b8ccc2b28c42c69da2fee72ddf87eb17a24657bc5d3c0530193a60f482555ce4cc5d168a18d9c2d79a13410d40670bc SHA512 21f8a697a3a902860a6ed72233984cf00c464ec0ddde9842a0c24b1e8e5ec4dd57b872096445a873d162d7529cba5c3666ba2a3ee3f9b1b18107d9636011281c diff --git a/dev-python/blosc/blosc-1.11.1.ebuild b/dev-python/blosc/blosc-1.11.1.ebuild new file mode 100644 index 000000000000..b7526777e9b2 --- /dev/null +++ b/dev-python/blosc/blosc-1.11.1.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 +} |