diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-01 23:56:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-02 00:22:37 +0200 |
commit | bcc514dfc8035b66b6f5ad490bb54d9ca2785553 (patch) | |
tree | 842f6ad890a20568e2b73a7b7584b6a2bf952f45 /dev-python | |
parent | dev-python/prometheus_client: Bump to 0.11.0 (diff) | |
download | gentoo-bcc514dfc8035b66b6f5ad490bb54d9ca2785553.tar.gz gentoo-bcc514dfc8035b66b6f5ad490bb54d9ca2785553.tar.bz2 gentoo-bcc514dfc8035b66b6f5ad490bb54d9ca2785553.zip |
dev-python/blosc: Bump to 1.10.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/blosc/Manifest | 1 | ||||
-rw-r--r-- | dev-python/blosc/blosc-1.10.4.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index 424283edb88b..c35afc208d92 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1 +1,2 @@ DIST blosc-1.10.2.tar.gz 858096 BLAKE2B ff314011e1afc2d972c2445df9ad25c245494479201ddd0944ddf5f14aa0aa772c9da1e117eb5395f5488e7238aefe1236d9a5579b4d03be2b041790de9575e8 SHA512 82dab50a49ddd45d8276fd43999233f41b507e35af5897ed4945565fde8f56be0855b0dd926d254bd77904ec7a13ad3f024007159510b677769d97599b731222 +DIST blosc-1.10.4.tar.gz 858123 BLAKE2B 01c9bd9486a27944caae1bc92b591c8b6f821bb5a6a0b44bc19f6c1778f2a2573a25783631c2140daa4d701569e584c93f8d5da76a92b73fb35ae5880ad2ea34 SHA512 bb41b83ff5198603e3721150976f95ffcbfe7b91bd5b11e1aa5e440dee1af7a9a6f5033e5aa4858117432e1522052ec074e9f14b5be52545e3752bc818637703 diff --git a/dev-python/blosc/blosc-1.10.4.ebuild b/dev-python/blosc/blosc-1.10.4.ebuild new file mode 100644 index 000000000000..43923c61a128 --- /dev/null +++ b/dev-python/blosc/blosc-1.10.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="High performance compressor optimized for binary data" +HOMEPAGE="http://python-blosc.blosc.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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 ) +PATCHES=( + "${FILESDIR}"/blosc-1.10.0-unbundle.patch +) + +python_prepare_all() { + export BLOSC_DIR="${EPREFIX}/usr" + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" -m blosc.test -v || die +} + +python_install() { + distutils-r1_python_install + python_optimize +} |