summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-06-28 14:06:49 -0400
committerMike Gilbert <floppym@gentoo.org>2022-07-11 00:25:57 -0400
commit382e9878e970dd776b5f4d1c09eb59eea711f079 (patch)
tree390e6d0780a41b32ce637d911587f693a503f6e2 /eclass/epatch.eclass
parentepatch.eclass: drop support for EPATCH_SINGLE_MSG (diff)
downloadgentoo-382e9878e970dd776b5f4d1c09eb59eea711f079.tar.gz
gentoo-382e9878e970dd776b5f4d1c09eb59eea711f079.tar.bz2
gentoo-382e9878e970dd776b5f4d1c09eb59eea711f079.zip
epatch.eclass: drop support for EAPI 0 to 4
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/epatch.eclass')
-rw-r--r--eclass/epatch.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass
index 7c53e5fcf539..181cd8963e4f 100644
--- a/eclass/epatch.eclass
+++ b/eclass/epatch.eclass
@@ -4,7 +4,7 @@
# @ECLASS: epatch.eclass
# @MAINTAINER:
# base-system@gentoo.org
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6
+# @SUPPORTED_EAPIS: 5 6
# @BLURB: easy patch application functions
# @DEPRECATED: eapply from EAPI 7
# @DESCRIPTION:
@@ -13,11 +13,11 @@
if [[ -z ${_EPATCH_ECLASS} ]]; then
-case ${EAPI:-0} in
- 0|1|2|3|4|5|6)
+case ${EAPI} in
+ 5|6)
;;
*)
- die "${ECLASS}: banned in EAPI=${EAPI}; use eapply* instead";;
+ die "${ECLASS}: EAPI ${EAPI:-0} not supported";;
esac
inherit estack