commit: 79a3b201623ba75cd8b185c6da8ceccaf24cfea2
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 18:25:27 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 18:27:16 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=79a3b201
numeric.eclass: Enable EAPI=6
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/numeric.eclass | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/eclass/numeric.eclass b/eclass/numeric.eclass
index adee3c5..6fe676c 100644
--- a/eclass/numeric.eclass
+++ b/eclass/numeric.eclass
@@ -10,15 +10,15 @@
# Various functions which make the maintenance numerical algebra packages
# easier.
+if [[ ! ${_NUMERIC_ECLASS} ]]; then
+
case ${EAPI:-0} in
- 0|1|2|3|4|5) ;;
+ 0|1|2|3|4|5)
+ inherit multilib ;;
+ 6) ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac
-if [[ ! ${_NUMERIC_ECLASS} ]]; then
-
-inherit multilib
-
# @VARIABLE: NUMERIC_MODULE_NAME
# @DESCRIPTION:
# The base pkg-config module name of the package being built.