projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2c9f5
)
base.eclass: Ban for EAPI=6
author
Michał Górny
<mgorny@gentoo.org>
Fri, 13 Nov 2015 18:45:42 +0000
(19:45 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Fri, 13 Nov 2015 23:52:53 +0000
(
00:52
+0100)
Ban the deprecated base.eclass for EAPI=6 to avoid it being accidentally
enabled. This eclass no longer provides anything that EAPI=6 does not
provide by default.
eclass/base.eclass
patch
|
blob
|
history
diff --git
a/eclass/base.eclass
b/eclass/base.eclass
index f5eb97c350a8e58be13be1c59c071c03ccf64e98..5ddbb3927777fca84f148bd8d63284420d3a5201 100644
(file)
--- a/
eclass/base.eclass
+++ b/
eclass/base.eclass
@@
-34,6
+34,7
@@
inherit eutils
BASE_EXPF="src_unpack src_compile src_install"
case "${EAPI:-0}" in
+ 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
2|3|4|5) BASE_EXPF+=" src_prepare src_configure" ;;
*) ;;
esac