projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f087e
)
Add more EAPI support (bug #540048)
author
Michael Sterrett
<mr_bones_@gentoo.org>
Sun, 22 Nov 2015 06:52:07 +0000
(
01:52
-0500)
committer
Michael Sterrett
<mr_bones_@gentoo.org>
Sun, 22 Nov 2015 06:58:17 +0000
(
01:58
-0500)
eclass/games-mods.eclass
patch
|
blob
|
history
diff --git
a/eclass/games-mods.eclass
b/eclass/games-mods.eclass
index faf267b6249932eace834c4d91dd93c4358cb218..2e9c7cc3ad97d632a4220ecc83ec9b2a1252960a 100644
(file)
--- a/
eclass/games-mods.eclass
+++ b/
eclass/games-mods.eclass
@@
-9,8
+9,6
@@
# MOD_DIR - Subdirectory name for the mod, if applicable
# MOD_ICON - Custom icon for the mod, instead of the default
-[[ ${EAPI:-0} == [012] ]] || die "EAPI ${EAPI} not supported"
-
inherit eutils games
EXPORT_FUNCTIONS src_install pkg_postinst
@@
-113,7
+111,7
@@
games-mods_get_rdepend() {
case ${EAPI:-0} in
0|1) echo -n "${pkgs[@]}" ;;
-
2
)
+
[23456]
)
local p
if [[ ${1} == "--ded" ]] ; then
echo -n "${DED_PKGS}"
@@
-126,6
+124,7
@@
games-mods_get_rdepend() {
done
fi
;;
+ *) die "EAPI ${EAPI} not supported"
esac
[[ ${#pkgs[@]} -gt 1 ]] && echo -n " )"