Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/eclass-manpages/
Date: Fri, 29 Mar 2019 08:16:58
Message-Id: 1553847406.73e1b27f7550812417d63488c510c28c07b76589.mgorny@gentoo
1 commit: 73e1b27f7550812417d63488c510c28c07b76589
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 29 07:50:46 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 29 08:16:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e1b27f
7
8 app-doc/eclass-manpages: Switch live ebuild to use dedicated repo
9
10 Switch the live ebuild to use the dedicated script repository rather
11 than keeping the script in FILESDIR.
12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 app-doc/eclass-manpages/eclass-manpages-99999999.ebuild | 9 +++++++--
16 1 file changed, 7 insertions(+), 2 deletions(-)
17
18 diff --git a/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild b/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
19 index 7dfb0d7e0d2..a0e75b5e7e2 100644
20 --- a/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
21 +++ b/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
22 @@ -16,15 +16,20 @@ SLOT="0"
23 KEYWORDS=""
24 IUSE=""
25
26 +DEPEND="sys-apps/gawk"
27 +
28 src_unpack() {
29 git-r3_fetch
30 + git-r3_fetch "https://github.com/mgorny/eclass-to-manpage"
31 +
32 git-r3_checkout '' '' '' eclass
33 + git-r3_checkout "https://github.com/mgorny/eclass-to-manpage"
34 }
35
36 src_compile() {
37 - env ECLASSDIR="${S}/eclass" bash "${FILESDIR}"/eclass-to-manpage.sh || die
38 + emake ECLASSDIR=eclass
39 }
40
41 src_install() {
42 - doman *.5
43 + emake install ECLASSDIR=eclass DESTDIR="${D}" PREFIX=/usr
44 }