summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-03-18 10:16:05 +0000
committerJustin Lecher <jlec@gentoo.org>2017-03-18 10:17:00 +0000
commit9fda59d6b5d979db17a70d27aaedeec235474c27 (patch)
tree3c0e793fd6badcab9439927774cd33151dff3818 /eclass/fortran-2.eclass
parentmedia-gfx/fbida: {D} => {ED}. (diff)
downloadgentoo-9fda59d6b5d979db17a70d27aaedeec235474c27.tar.gz
gentoo-9fda59d6b5d979db17a70d27aaedeec235474c27.tar.bz2
gentoo-9fda59d6b5d979db17a70d27aaedeec235474c27.zip
Drop support for EAPI < 4 in fortran.eclass
https://bugs.gentoo.org/show_bug.cgi?id=573088 https://bugs.gentoo.org/show_bug.cgi?id=477070 https://bugs.sabayon.org/show_bug.cgi?id=4170 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass20
1 files changed, 5 insertions, 15 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 23bb4f49e99..d7ed9a99804 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: fortran-2.eclass
@@ -29,7 +29,7 @@
inherit eutils toolchain-funcs
case ${EAPI:-0} in
- 0|1|2|3|4|5|6) EXPORT_FUNCTIONS pkg_setup ;;
+ 4|5|6) EXPORT_FUNCTIONS pkg_setup ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac
@@ -275,19 +275,9 @@ _fortran-2_pkg_setup() {
fortran-2_pkg_setup() {
debug-print-function ${FUNCNAME} "${@}"
- case ${EAPI:-0} in
- 0|1|2|3)
- eqawarn "Support for EAPI < 4 will be removed from the"
- eqawarn "fortran-2.eclass in until 2013-09-30."
- eqawarn "Please migrate your package to a higher EAPI"
- eqawarn "or file a bug at https://bugs.gentoo.org"
- _fortran-2_pkg_setup ;;
- *)
- if [[ ${MERGE_TYPE} != binary ]]; then
- _fortran-2_pkg_setup
- fi
- ;;
- esac
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ _fortran-2_pkg_setup
+ fi
}
_FORTRAN_2_ECLASS=1