mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
base.eclass: Ban for EAPI=6
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user