diff options
Diffstat (limited to 'dev-python/blosc')
-rw-r--r-- | dev-python/blosc/Manifest | 1 | ||||
-rw-r--r-- | dev-python/blosc/blosc-1.10.5-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index ba8bc987d011..902a5ba92734 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1,3 +1,4 @@ DIST python-blosc-1.10.5.gh.tar.gz 1570462 BLAKE2B e2ee3cc3827e1df89afc97a0cdc3f07670368d2edfea9b6ae32ecbb74b464d5311bbd7b129b3b94fb91d20fd579425859412665de397facd4c119e429fbcd014 SHA512 75b91e50def65ecbbdd29f7b7aba65c6ca611eeeaa9e55583c0253eda5d1e1ab7d899d0c77c45ae999188f701205f20d8c8ed130a3865433edd87db3c0eeebb0 +EBUILD blosc-1.10.5-r1.ebuild 973 BLAKE2B 1a068e6abee90f69f685c6344296e97f3388060b8cbb302f1027133e6db21452e3fb5e80237670904398f4c5e7da8519b1e2dce520af04afcfe1a2f079e98478 SHA512 2d0105cdefe407577c5312b265c4bf0d905ddb28d3b6ad13486bb73905013306b7186686b72af708ea292b17247e06e75e5c3c2511ac084a7e801a52cab23155 EBUILD blosc-1.10.5.ebuild 1040 BLAKE2B 5aa9588930e78101a2bd90a636507c89fdcdee71e6bd61283568f7ae0265484ee26dc68a160841885b24b00f55397c0b4d5907fdbf6e49c115ddad49c52e65d0 SHA512 8326622d5a5d297610b7fe039b57f4b1d5c2b1fbdc4fce8f75537e88d12089e1bcb61d02a928d3effe9b037332043d1ee53502eebc9ebda9024bca13e39854e9 MISC metadata.xml 999 BLAKE2B e8ab94b206c8364bc10de6e57872e6f4264927118269fe74dc040d5fc1c8fae7b3422a62c6d675b47a87168f03eec83a8ea16210bfd1f7e11920ae94844d9546 SHA512 5dec5341aa068659bb74d206ed7ffc96bc47d1128eb48827ec189be38d9112079c37a140dadc6326ba84352ccbeeac453888391920737bbf73153431d8be1720 diff --git a/dev-python/blosc/blosc-1.10.5-r1.ebuild b/dev-python/blosc/blosc-1.10.5-r1.ebuild new file mode 100644 index 000000000000..e699cb10dabb --- /dev/null +++ b/dev-python/blosc/blosc-1.10.5-r1.ebuild @@ -0,0 +1,44 @@ +# 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="http://python-blosc.blosc.org" +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 +} |