Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/pppconfig/
Date: Mon, 29 Nov 2021 19:01:07
Message-Id: 1638212375.67c2b90334f3e0309fae4880f0aa43c663c2b1ed.jsmolic@gentoo
1 commit: 67c2b90334f3e0309fae4880f0aa43c663c2b1ed
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 18:59:35 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 18:59:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c2b903
7
8 net-dialup/pppconfig: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/819360
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-dialup/pppconfig/pppconfig-2.3.21.ebuild | 13 +++++++------
14 1 file changed, 7 insertions(+), 6 deletions(-)
15
16 diff --git a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild
17 index 808ccc0a705e..b2560f286d53 100644
18 --- a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild
19 +++ b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=8
26
27 inherit strip-linguas
28
29 @@ -14,15 +14,16 @@ LICENSE="GPL-2"
30 KEYWORDS="amd64 ppc x86"
31 IUSE="nls"
32
33 -RDEPEND="net-dialup/ppp
34 +RDEPEND="
35 + net-dialup/ppp
36 dev-util/dialog
37 dev-lang/perl"
38 -DEPEND="nls? ( sys-devel/gettext )"
39 +BDEPEND="nls? ( sys-devel/gettext )"
40
41 src_prepare() {
42 - if use nls; then
43 - strip-linguas -i po/
44 - fi
45 + default
46 +
47 + use nls && strip-linguas -i po/
48 }
49
50 src_compile() {