summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2016-10-30 12:22:41 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2016-10-30 12:23:33 +0100
commit3935bd2bcac001faa89fbfb5b80b9c99e5e476cd (patch)
treeaabaed168b1df8b5e6a752b48fc9e385137810e0
parentgames-puzzle/gnome2048: cleanup old revision (diff)
downloadgnome-3935bd2bcac001faa89fbfb5b80b9c99e5e476cd.tar.gz
gnome-3935bd2bcac001faa89fbfb5b80b9c99e5e476cd.tar.bz2
gnome-3935bd2bcac001faa89fbfb5b80b9c99e5e476cd.zip
eclass: drop support for older EAPIs in gnome2-live
-rw-r--r--eclass/gnome2-live.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index 9a810e81..7771c50f 100644
--- a/eclass/gnome2-live.eclass
+++ b/eclass/gnome2-live.eclass
@@ -16,14 +16,14 @@
inherit autotools eutils gnome2 gnome2-utils libtool git-r3
-# Stolen from git.eclass
-EXPORTED_FUNCTIONS="src_unpack pkg_postinst"
+EXPORTED_FUNCTIONS=" "
case "${EAPI:-0}" in
- 2|3|4|5) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;;
- 0|1) ;;
- *) die "Unknown EAPI, Bug eclass maintainers." ;;
+ 4|5)
+ EXPORT_FUNCTIONS src_unpack src_prepare pkg_postinst
+ ;;
+ *)
+ die "Unknown EAPI, Bug eclass maintainers." ;;
esac
-EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
# DEPEND on
# app-text/gnome-doc-utils for gnome-doc-*
@@ -79,7 +79,7 @@ gnome2-live_src_unpack() {
unpack ${A}
fi
git-r3_src_unpack
- has src_prepare ${EXPORTED_FUNCTIONS} || gnome2-live_src_prepare
+ gnome2-live_src_prepare
}
# @FUNCTION: gnome2-live_src_prepare