1 |
commit: 3935bd2bcac001faa89fbfb5b80b9c99e5e476cd |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 11:22:41 2016 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 11:23:33 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=3935bd2b |
7 |
|
8 |
eclass: drop support for older EAPIs in gnome2-live |
9 |
|
10 |
eclass/gnome2-live.eclass | 14 +++++++------- |
11 |
1 file changed, 7 insertions(+), 7 deletions(-) |
12 |
|
13 |
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass |
14 |
index 9a810e8..7771c50 100644 |
15 |
--- a/eclass/gnome2-live.eclass |
16 |
+++ b/eclass/gnome2-live.eclass |
17 |
@@ -16,14 +16,14 @@ |
18 |
|
19 |
inherit autotools eutils gnome2 gnome2-utils libtool git-r3 |
20 |
|
21 |
-# Stolen from git.eclass |
22 |
-EXPORTED_FUNCTIONS="src_unpack pkg_postinst" |
23 |
+EXPORTED_FUNCTIONS=" " |
24 |
case "${EAPI:-0}" in |
25 |
- 2|3|4|5) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;; |
26 |
- 0|1) ;; |
27 |
- *) die "Unknown EAPI, Bug eclass maintainers." ;; |
28 |
+ 4|5) |
29 |
+ EXPORT_FUNCTIONS src_unpack src_prepare pkg_postinst |
30 |
+ ;; |
31 |
+ *) |
32 |
+ die "Unknown EAPI, Bug eclass maintainers." ;; |
33 |
esac |
34 |
-EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} |
35 |
|
36 |
# DEPEND on |
37 |
# app-text/gnome-doc-utils for gnome-doc-* |
38 |
@@ -79,7 +79,7 @@ gnome2-live_src_unpack() { |
39 |
unpack ${A} |
40 |
fi |
41 |
git-r3_src_unpack |
42 |
- has src_prepare ${EXPORTED_FUNCTIONS} || gnome2-live_src_prepare |
43 |
+ gnome2-live_src_prepare |
44 |
} |
45 |
|
46 |
# @FUNCTION: gnome2-live_src_prepare |