Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/blosc/
Date: Fri, 25 Dec 2020 09:17:20
Message-Id: 1608887625.8af696f18105e3dc18f892de84685288fd2b4e96.mgorny@gentoo
1 commit: 8af696f18105e3dc18f892de84685288fd2b4e96
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 25 08:35:07 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 25 09:13:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af696f1
7
8 dev-python/blosc: Bump to 1.10.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/blosc/Manifest | 1 +
13 dev-python/blosc/blosc-1.10.1.ebuild | 46 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest
17 index 4bb979ce2e5..9cbd9400b12 100644
18 --- a/dev-python/blosc/Manifest
19 +++ b/dev-python/blosc/Manifest
20 @@ -1,2 +1,3 @@
21 DIST blosc-1.10.0.tar.gz 845312 BLAKE2B 15f367f1420f56e64ec01e74d7320adc194db11d15bd26a2b78c59c88a6127f1d2b5fc7bd53e02a6d0cad785c87cf79bb909dec62982b5ee8620c92ccdd80249 SHA512 f071d131966acd74cf71f8688ae9830091ee12a92399e8736f2b2cc2243bc022f9fd194c60493e912aef87a54202813a67a8f9bddd90c1c44631205d58c3f3e3
22 +DIST blosc-1.10.1.tar.gz 858162 BLAKE2B 768ae6d438d9fe05589460dcaeea77dbf2e0212bbc67388c6df1b9fc6bd1921e8cd79da2039cd4300cd91923d7988f8c4741ea1dbd5ebfa13e48f3ade678ac09 SHA512 06e393efa3fc7060205a483787eb4c5befe75dfdd6321b37c43ed7830dccf4d622bd88451e97da663ed9dc9302c30d7486315de9aff6351721862e2eceddd9a3
23 DIST blosc-1.9.2.tar.gz 816897 BLAKE2B 7d1a2d925500c8ddb93975dd785c03b91dec2716a438915d5dfdb739c650de8a47ed80eb25fc55357e69b586c446c5af61212e0a4fba8158839a66849309f478 SHA512 a8f53afb7fb1bb742e2daa03015b636d4dbb1fd073be079022364ec67035c9e6ee372ab07f7ce06579b85d9fcaedd2a11f30b9cf5b2bd1d1ea62cf32a8aa3c1f
24
25 diff --git a/dev-python/blosc/blosc-1.10.1.ebuild b/dev-python/blosc/blosc-1.10.1.ebuild
26 new file mode 100644
27 index 00000000000..1423adda4bd
28 --- /dev/null
29 +++ b/dev-python/blosc/blosc-1.10.1.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6..9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="High performance compressor optimized for binary data"
41 +HOMEPAGE="http://python-blosc.blosc.org"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +SLOT="0"
45 +LICENSE="MIT"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND=">=dev-libs/c-blosc-1.19.0:="
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="
53 + dev-python/scikit-build[${PYTHON_USEDEP}]
54 + test? (
55 + dev-python/numpy[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst )
60 +PATCHES=(
61 + "${FILESDIR}"/blosc-1.10.0-unbundle.patch
62 +)
63 +
64 +python_prepare_all() {
65 + export BLOSC_DIR="${EPREFIX}/usr"
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_test() {
70 + "${EPYTHON}" -m blosc.test -v || die
71 +}
72 +
73 +python_install() {
74 + distutils-r1_python_install
75 + python_optimize
76 +}