commit: 3935bd2bcac001faa89fbfb5b80b9c99e5e476cd
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 11:22:41 2016 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 11:23:33 2016 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=3935bd2b
eclass: drop support for older EAPIs in gnome2-live
eclass/gnome2-live.eclass | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index 9a810e8..7771c50 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