Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/indent/
Date: Tue, 02 Feb 2021 19:42:03
Message-Id: 1612294821.164bace0ae36f029e1a2ac2d257c799d12bf5875.asturm@gentoo
1 commit: 164bace0ae36f029e1a2ac2d257c799d12bf5875
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 19:13:46 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 19:40:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164bace0
7
8 dev-util/indent: EAPI-7 bump, swap out eutils with l10n.eclass
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-util/indent/indent-2.2.12.ebuild | 12 ++++++------
14 1 file changed, 6 insertions(+), 6 deletions(-)
15
16 diff --git a/dev-util/indent/indent-2.2.12.ebuild b/dev-util/indent/indent-2.2.12.ebuild
17 index ab0455d550a..a3c8834d1a8 100644
18 --- a/dev-util/indent/indent-2.2.12.ebuild
19 +++ b/dev-util/indent/indent-2.2.12.ebuild
20 @@ -1,8 +1,9 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 -inherit eutils
26 +EAPI=7
27 +
28 +inherit l10n
29
30 DESCRIPTION="Indent program source files"
31 HOMEPAGE="https://www.gnu.org/software/indent/"
32 @@ -13,9 +14,9 @@ SLOT="0"
33 KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
34 IUSE="nls"
35
36 -DEPEND="
37 - nls? ( sys-devel/gettext )
38 +BDEPEND="
39 app-text/texi2html
40 + nls? ( sys-devel/gettext )
41 "
42 RDEPEND="
43 nls? ( virtual/libintl )
44 @@ -23,7 +24,6 @@ RDEPEND="
45
46 src_prepare() {
47 default
48 -
49 sed -i -e '/AM_CFLAGS/s:-Werror::g' src/Makefile.{am,in} || die
50 }
51
52 @@ -47,5 +47,5 @@ src_test() {
53 src_install() {
54 # htmldir as set in configure is ignored in doc/Makefile*
55 emake DESTDIR="${D}" htmldir="${EPREFIX}/usr/share/doc/${PF}/html" install
56 - dodoc AUTHORS NEWS README.md ChangeLog ChangeLog-1990 ChangeLog-1998 ChangeLog-2001
57 + dodoc AUTHORS NEWS README.md ChangeLog{,-1990,-1998,-2001}
58 }