Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/g15macro/
Date: Wed, 09 Sep 2020 12:29:38
Message-Id: 1599654563.d9bd2366a1e5fb8670fd8e3823047d221e6c4b46.polynomial-c@gentoo
1 commit: d9bd2366a1e5fb8670fd8e3823047d221e6c4b46
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 9 11:26:23 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 12:29:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9bd2366
7
8 app-misc/g15macro: Convert to EAPI-7
9
10 Package-Manager: Portage-3.0.6, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-misc/g15macro/g15macro-1.0.3-r2.ebuild | 18 +++++++++++-------
14 1 file changed, 11 insertions(+), 7 deletions(-)
15
16 diff --git a/app-misc/g15macro/g15macro-1.0.3-r2.ebuild b/app-misc/g15macro/g15macro-1.0.3-r2.ebuild
17 index c86e4550bd2..4a2436d7c32 100644
18 --- a/app-misc/g15macro/g15macro-1.0.3-r2.ebuild
19 +++ b/app-misc/g15macro/g15macro-1.0.3-r2.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 -inherit autotools eutils
27 +EAPI=7
28 +inherit autotools
29
30 DESCRIPTION="Macro recording plugin to G15daemon"
31 HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
32 @@ -23,10 +23,14 @@ RDEPEND="${DEPEND}
33 sys-libs/zlib
34 "
35
36 +PATCHES=(
37 + "${FILESDIR}"/${P}-Makefile.am.patch
38 + "${FILESDIR}"/${P}-configure.in.patch
39 +)
40 +
41 src_prepare() {
42 - epatch "${FILESDIR}"/${P}-Makefile.am.patch
43 - epatch "${FILESDIR}"/${P}-configure.in.patch
44 - mv configure.in configure.ac || die
45 + default
46 + mv configure.{in,ac} || die
47 eautoreconf
48 }
49
50 @@ -36,5 +40,5 @@ src_configure() {
51
52 src_install() {
53 default
54 - rm -rf "${ED}"/usr/share/doc/${P}
55 + rm -rf "${ED}"/usr/share/doc/${P} || die
56 }