projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1759cce
)
epatch.eclass: Ban in EAPI 7 (in favor of eapply)
author
Michał Górny
<mgorny@gentoo.org>
Tue, 6 Mar 2018 17:17:10 +0000
(18:17 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Mon, 23 Apr 2018 18:00:53 +0000
(20:00 +0200)
eclass/epatch.eclass
patch
|
blob
|
history
diff --git
a/eclass/epatch.eclass
b/eclass/epatch.eclass
index 905f68f8ef2273b63d82ab35471e731538ad40b3..8e03478c26ce9a0a6015dbe538b8e37f1d006aa6 100644
(file)
--- a/
eclass/epatch.eclass
+++ b/
eclass/epatch.eclass
@@
-1,4
+1,4
@@
-# Copyright 1999-201
7
Gentoo Foundation
+# Copyright 1999-201
8
Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: epatch.eclass
@@
-11,6
+11,13
@@
if [[ -z ${_EPATCH_ECLASS} ]]; then
+case ${EAPI:-0} in
+ 0|1|2|3|4|5|6)
+ ;;
+ *)
+ die "${ECLASS}: banned in EAPI=${EAPI}; use eapply* instead";;
+esac
+
inherit estack
# @VARIABLE: EPATCH_SOURCE