1 |
commit: 9d1d0ab8c38ba133d96cb849cb64a3ffe7b25752 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 25 20:43:57 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 25 20:45:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1d0ab8 |
7 |
|
8 |
app-shells/zsh: bump to EAPI 6 and skip release actions for live ebuild |
9 |
|
10 |
app-shells/zsh/zsh-9999.ebuild | 21 +++++++++++++-------- |
11 |
1 file changed, 13 insertions(+), 8 deletions(-) |
12 |
|
13 |
diff --git a/app-shells/zsh/zsh-9999.ebuild b/app-shells/zsh/zsh-9999.ebuild |
14 |
index 695369a..e8759b0 100644 |
15 |
--- a/app-shells/zsh/zsh-9999.ebuild |
16 |
+++ b/app-shells/zsh/zsh-9999.ebuild |
17 |
@@ -1,8 +1,8 @@ |
18 |
-# Copyright 1999-2015 Gentoo Foundation |
19 |
+# Copyright 1999-2016 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=6 |
25 |
|
26 |
inherit eutils flag-o-matic multilib prefix |
27 |
|
28 |
@@ -47,12 +47,15 @@ if [[ ${PV} == 9999* ]] ; then |
29 |
fi |
30 |
|
31 |
src_prepare() { |
32 |
- # fix zshall problem with soelim |
33 |
- ln -s Doc man1 |
34 |
- mv Doc/zshall.1 Doc/zshall.1.soelim |
35 |
- soelim Doc/zshall.1.soelim > Doc/zshall.1 |
36 |
- |
37 |
- epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff |
38 |
+ if [[ ${PV} != 9999* ]]; then |
39 |
+ # fix zshall problem with soelim |
40 |
+ ln -s Doc man1 || die |
41 |
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die |
42 |
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die |
43 |
+ |
44 |
+ # add openrc specific options for init.d completion |
45 |
+ eapply "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff |
46 |
+ fi |
47 |
|
48 |
cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die |
49 |
eprefixify "${T}"/zprofile || die |
50 |
@@ -62,6 +65,8 @@ src_prepare() { |
51 |
sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die |
52 |
fi |
53 |
|
54 |
+ default |
55 |
+ |
56 |
if [[ ${PV} == 9999* ]] ; then |
57 |
sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die |
58 |
eautoreconf |