1 |
commit: 89257b0db62da993db2826c51b217b595e8bbaf6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 07:43:06 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 07:43:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89257b0d |
7 |
|
8 |
dev-python/blosc: Bump to 1.10.5 |
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.5.ebuild | 48 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest |
17 |
index 526b6735015..cc023293285 100644 |
18 |
--- a/dev-python/blosc/Manifest |
19 |
+++ b/dev-python/blosc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST blosc-1.10.4.tar.gz 858123 BLAKE2B 01c9bd9486a27944caae1bc92b591c8b6f821bb5a6a0b44bc19f6c1778f2a2573a25783631c2140daa4d701569e584c93f8d5da76a92b73fb35ae5880ad2ea34 SHA512 bb41b83ff5198603e3721150976f95ffcbfe7b91bd5b11e1aa5e440dee1af7a9a6f5033e5aa4858117432e1522052ec074e9f14b5be52545e3752bc818637703 |
22 |
+DIST python-blosc-1.10.5.gh.tar.gz 1570462 BLAKE2B e2ee3cc3827e1df89afc97a0cdc3f07670368d2edfea9b6ae32ecbb74b464d5311bbd7b129b3b94fb91d20fd579425859412665de397facd4c119e429fbcd014 SHA512 75b91e50def65ecbbdd29f7b7aba65c6ca611eeeaa9e55583c0253eda5d1e1ab7d899d0c77c45ae999188f701205f20d8c8ed130a3865433edd87db3c0eeebb0 |
23 |
|
24 |
diff --git a/dev-python/blosc/blosc-1.10.5.ebuild b/dev-python/blosc/blosc-1.10.5.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a16e6028266 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/blosc/blosc-1.10.5.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P=python-blosc-${PV} |
40 |
+DESCRIPTION="High performance compressor optimized for binary data" |
41 |
+HOMEPAGE="http://python-blosc.blosc.org" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/Blosc/python-blosc/archive/v${PV}.tar.gz |
44 |
+ -> ${MY_P}.gh.tar.gz" |
45 |
+S=${WORKDIR}/${MY_P} |
46 |
+ |
47 |
+SLOT="0" |
48 |
+LICENSE="MIT" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
50 |
+IUSE="test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=">=dev-libs/c-blosc-1.19.0:=" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+BDEPEND=" |
56 |
+ dev-python/scikit-build[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst ) |
63 |
+ |
64 |
+python_prepare_all() { |
65 |
+ export USE_SYSTEM_BLOSC=1 |
66 |
+ export BLOSC_DIR="${EPREFIX}/usr" |
67 |
+ distutils-r1_python_prepare_all |
68 |
+} |
69 |
+ |
70 |
+python_test() { |
71 |
+ "${EPYTHON}" -m blosc.test -v || die |
72 |
+} |
73 |
+ |
74 |
+python_install() { |
75 |
+ distutils-r1_python_install |
76 |
+ python_optimize |
77 |
+} |