1 |
commit: 13c00964fd7f52a9b74e1eba62aae1594f215752 |
2 |
Author: Mo Zhou <cdluminate <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 4 07:24:42 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 4 07:51:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13c00964 |
7 |
|
8 |
sci-lib/blis: use python-any-r1 eclass instead of hardcoded python deps. |
9 |
|
10 |
Additionally, quote ${BLIS_FLAGS[@]}, and remove unused `eutils` |
11 |
|
12 |
Closes: https://bugs.gentoo.org/693130 |
13 |
Signed-off-by: Mo Zhou <cdluminate <AT> gmail.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/12859 |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
|
17 |
sci-libs/blis/blis-0.5.2.ebuild | 7 ++++--- |
18 |
sci-libs/blis/blis-0.6.0.ebuild | 7 ++++--- |
19 |
2 files changed, 8 insertions(+), 6 deletions(-) |
20 |
|
21 |
diff --git a/sci-libs/blis/blis-0.5.2.ebuild b/sci-libs/blis/blis-0.5.2.ebuild |
22 |
index 785210e5b5a..2c8bf1dbc42 100644 |
23 |
--- a/sci-libs/blis/blis-0.5.2.ebuild |
24 |
+++ b/sci-libs/blis/blis-0.5.2.ebuild |
25 |
@@ -2,7 +2,8 @@ |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=7 |
29 |
-inherit eutils |
30 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
31 |
+inherit python-any-r1 |
32 |
|
33 |
DESCRIPTION="BLAS-like Library Instantiation Software Framework" |
34 |
HOMEPAGE="https://github.com/flame/blis" |
35 |
@@ -18,7 +19,7 @@ RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas |
36 |
>=app-eselect/eselect-blas-0.2 )" |
37 |
|
38 |
DEPEND="${RDEPEND} |
39 |
- dev-lang/python |
40 |
+ ${PYTHON_DEPS} |
41 |
" |
42 |
|
43 |
PATCHES=( |
44 |
@@ -56,7 +57,7 @@ src_configure () { |
45 |
$(use_enable static-libs static) \ |
46 |
--enable-blas \ |
47 |
--enable-cblas \ |
48 |
- ${BLIS_FLAGS[@]} \ |
49 |
+ "${BLIS_FLAGS[@]}" \ |
50 |
--enable-shared \ |
51 |
$confname || die |
52 |
} |
53 |
|
54 |
diff --git a/sci-libs/blis/blis-0.6.0.ebuild b/sci-libs/blis/blis-0.6.0.ebuild |
55 |
index ccb44fdd682..4d56f562212 100644 |
56 |
--- a/sci-libs/blis/blis-0.6.0.ebuild |
57 |
+++ b/sci-libs/blis/blis-0.6.0.ebuild |
58 |
@@ -2,7 +2,8 @@ |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
EAPI=7 |
62 |
-inherit eutils |
63 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
64 |
+inherit python-any-r1 |
65 |
|
66 |
DESCRIPTION="BLAS-like Library Instantiation Software Framework" |
67 |
HOMEPAGE="https://github.com/flame/blis" |
68 |
@@ -18,7 +19,7 @@ RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas |
69 |
>=app-eselect/eselect-blas-0.2 )" |
70 |
|
71 |
DEPEND="${RDEPEND} |
72 |
- dev-lang/python |
73 |
+ ${PYTHON_DEPS} |
74 |
" |
75 |
|
76 |
PATCHES=( |
77 |
@@ -55,7 +56,7 @@ src_configure () { |
78 |
$(use_enable static-libs static) \ |
79 |
--enable-blas \ |
80 |
--enable-cblas \ |
81 |
- ${BLIS_FLAGS[@]} \ |
82 |
+ "${BLIS_FLAGS[@]}" \ |
83 |
--enable-shared \ |
84 |
$confname || die |
85 |
} |