diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-10 19:25:27 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-10 19:27:16 +0100 |
commit | 79a3b201623ba75cd8b185c6da8ceccaf24cfea2 (patch) | |
tree | 5efeb66902c6afb94c5923d396bfa093d88ed007 /eclass | |
parent | alternatives-2.eclass: Enable EAPI=6 (diff) | |
download | sci-79a3b201623ba75cd8b185c6da8ceccaf24cfea2.tar.gz sci-79a3b201623ba75cd8b185c6da8ceccaf24cfea2.tar.bz2 sci-79a3b201623ba75cd8b185c6da8ceccaf24cfea2.zip |
numeric.eclass: Enable EAPI=6
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/numeric.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/numeric.eclass b/eclass/numeric.eclass index adee3c53b..6fe676c1e 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. |