From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E412158086 for ; Mon, 29 Nov 2021 19:01:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EED872BC0B1; Mon, 29 Nov 2021 19:01:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7FC52BC0B1 for ; Mon, 29 Nov 2021 19:01:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41FB3342D49 for ; Mon, 29 Nov 2021 19:01:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86CC61A0 for ; Mon, 29 Nov 2021 19:00:59 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1638212375.67c2b90334f3e0309fae4880f0aa43c663c2b1ed.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/pppconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/pppconfig/pppconfig-2.3.21.ebuild X-VCS-Directories: net-dialup/pppconfig/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 67c2b90334f3e0309fae4880f0aa43c663c2b1ed X-VCS-Branch: master Date: Mon, 29 Nov 2021 19:00:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13b97a1b-5293-4435-8aee-a9398e8fe7b3 X-Archives-Hash: a72ee9c5c33074366e94e4ea4c2a3c7f commit: 67c2b90334f3e0309fae4880f0aa43c663c2b1ed Author: Jakov Smolić gentoo org> AuthorDate: Mon Nov 29 18:59:35 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Mon Nov 29 18:59:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c2b903 net-dialup/pppconfig: Port to EAPI 8 Closes: https://bugs.gentoo.org/819360 Signed-off-by: Jakov Smolić gentoo.org> net-dialup/pppconfig/pppconfig-2.3.21.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild index 808ccc0a705e..b2560f286d53 100644 --- a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild +++ b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit strip-linguas @@ -14,15 +14,16 @@ LICENSE="GPL-2" KEYWORDS="amd64 ppc x86" IUSE="nls" -RDEPEND="net-dialup/ppp +RDEPEND=" + net-dialup/ppp dev-util/dialog dev-lang/perl" -DEPEND="nls? ( sys-devel/gettext )" +BDEPEND="nls? ( sys-devel/gettext )" src_prepare() { - if use nls; then - strip-linguas -i po/ - fi + default + + use nls && strip-linguas -i po/ } src_compile() {