commit: 13c00964fd7f52a9b74e1eba62aae1594f215752
Author: Mo Zhou <cdluminate <AT> gmail <DOT> com>
AuthorDate: Wed Sep 4 07:24:42 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 4 07:51:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13c00964
sci-lib/blis: use python-any-r1 eclass instead of hardcoded python deps.
Additionally, quote ${BLIS_FLAGS[@]}, and remove unused `eutils`
Closes: https://bugs.gentoo.org/693130
Signed-off-by: Mo Zhou <cdluminate <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12859
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/blis/blis-0.5.2.ebuild | 7 ++++---
sci-libs/blis/blis-0.6.0.ebuild | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/sci-libs/blis/blis-0.5.2.ebuild b/sci-libs/blis/blis-0.5.2.ebuild
index 785210e5b5a..2c8bf1dbc42 100644
--- a/sci-libs/blis/blis-0.5.2.ebuild
+++ b/sci-libs/blis/blis-0.5.2.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+inherit python-any-r1
DESCRIPTION="BLAS-like Library Instantiation Software Framework"
HOMEPAGE="https://github.com/flame/blis"
@@ -18,7 +19,7 @@ RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas
>=app-eselect/eselect-blas-0.2 )"
DEPEND="${RDEPEND}
- dev-lang/python
+ ${PYTHON_DEPS}
"
PATCHES=(
@@ -56,7 +57,7 @@ src_configure () {
$(use_enable static-libs static) \
--enable-blas \
--enable-cblas \
- ${BLIS_FLAGS[@]} \
+ "${BLIS_FLAGS[@]}" \
--enable-shared \
$confname || die
}
diff --git a/sci-libs/blis/blis-0.6.0.ebuild b/sci-libs/blis/blis-0.6.0.ebuild
index ccb44fdd682..4d56f562212 100644
--- a/sci-libs/blis/blis-0.6.0.ebuild
+++ b/sci-libs/blis/blis-0.6.0.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+inherit python-any-r1
DESCRIPTION="BLAS-like Library Instantiation Software Framework"
HOMEPAGE="https://github.com/flame/blis"
@@ -18,7 +19,7 @@ RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas
>=app-eselect/eselect-blas-0.2
)"
DEPEND="${RDEPEND}
- dev-lang/python
+ ${PYTHON_DEPS}
"
PATCHES=(
@@ -55,7 +56,7 @@ src_configure () {
$(use_enable static-libs static) \
--enable-blas \
--enable-cblas \
- ${BLIS_FLAGS[@]} \
+ "${BLIS_FLAGS[@]}" \
--enable-shared \
$confname || die
}