diff options
Diffstat (limited to 'dev-python/blosc')
-rw-r--r-- | dev-python/blosc/Manifest | 2 | ||||
-rw-r--r-- | dev-python/blosc/blosc-1.10.6.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index 38578e5f3568..abb0bee69bd9 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1,3 +1,5 @@ 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 EBUILD blosc-1.10.5-r1.ebuild 967 BLAKE2B 46427100a1e846ce6067829fb17726c5879634efeda8ad53a61cdea1d853b3f63aa98918f78749e7f7076105f653191b7fc1db55796609463daa050fe0092c1b SHA512 93475018956bccb45c6c3e0f0dc0739bdadaf7047398fe21274de60ba9d9cd132009f5f2319acfafe17f31abe0813fa4a24ba36ed86ef13a3b945a64f80db942 +EBUILD blosc-1.10.6.ebuild 1048 BLAKE2B 2b1b0bc043f082bd33ca2e427bea127a32fe8f6a9e06fdd9f3fd23fd541ffb192cf94329e183049d1fba24ff46acb4e4b40676458a2a5323127ec8fed6773258 SHA512 1de7c42c1ae1ec11b8e75ed5c9d6bece784554f56ebb7ed18e61f25f2185ae67c1b349f00a193f5212c735d1bc992554b90a4ee00101b815139a9a821134ad15 MISC metadata.xml 999 BLAKE2B e8ab94b206c8364bc10de6e57872e6f4264927118269fe74dc040d5fc1c8fae7b3422a62c6d675b47a87168f03eec83a8ea16210bfd1f7e11920ae94844d9546 SHA512 5dec5341aa068659bb74d206ed7ffc96bc47d1128eb48827ec189be38d9112079c37a140dadc6326ba84352ccbeeac453888391920737bbf73153431d8be1720 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 +} |