From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1583498-garchives=archives.gentoo.org@lists.gentoo.org>
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 AC5A4158015
	for <garchives@archives.gentoo.org>; Sun, 24 Dec 2023 23:16:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3C2372BC05D;
	Sun, 24 Dec 2023 23:16:54 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D52B62BC05D
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Dec 2023 23:16:53 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EF6A933D3CF
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Dec 2023 23:16:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 90BDA14C8
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Dec 2023 23:16:49 +0000 (UTC)
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org>
Message-ID: <1703459792.cabe729b786afded2fcf3cf9abc2ce75ce204e6b.conikost@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pal/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-misc/pal/pal-0.4.3-r2.ebuild
X-VCS-Directories: app-misc/pal/
X-VCS-Committer: conikost
X-VCS-Committer-Name: Conrad Kostecki
X-VCS-Revision: cabe729b786afded2fcf3cf9abc2ce75ce204e6b
X-VCS-Branch: master
Date: Sun, 24 Dec 2023 23:16:49 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5815ab28-565e-413c-90c3-da865451ce68
X-Archives-Hash: 97f30fcb72c1c34e2c487de2bd8ba55e

commit:     cabe729b786afded2fcf3cf9abc2ce75ce204e6b
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Dec 24 10:36:54 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 23:16:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabe729b

app-misc/pal: EAPI8 bump, fix #729400

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/729400
Closes: https://github.com/gentoo/gentoo/pull/34456
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-misc/pal/pal-0.4.3-r2.ebuild | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/app-misc/pal/pal-0.4.3-r2.ebuild b/app-misc/pal/pal-0.4.3-r2.ebuild
index 039c608cd2df..7066a7b151d0 100644
--- a/app-misc/pal/pal-0.4.3-r2.ebuild
+++ b/app-misc/pal/pal-0.4.3-r2.ebuild
@@ -1,28 +1,29 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
 inherit prefix toolchain-funcs
 
 DESCRIPTION="Command-line calendar program"
-HOMEPAGE="http://palcal.sourceforge.net/"
+HOMEPAGE="https://palcal.sourceforge.net/"
 SRC_URI="mirror://sourceforge/palcal/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~hppa ppc x86 ~amd64-linux ~x86-linux"
 IUSE="nls"
 
 RDEPEND="
 	>=dev-libs/glib-2.0
-	nls? ( virtual/libintl )
 	sys-libs/ncurses:0
 	sys-libs/readline:0
+	nls? ( virtual/libintl )
 "
-DEPEND="
-	${RDEPEND}
-	nls? ( sys-devel/gettext )
+DEPEND="${RDEPEND}"
+BDEPEND="
 	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
 "
 
 RESTRICT="test" # Has no tests to run
@@ -45,15 +46,14 @@ src_prepare() {
 }
 
 src_compile() {
-	cd src || die "failed to change to the src directory"
-	emake CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}"
+	emake -C src CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}"
 }
 
 src_install() {
 	dodoc ChangeLog doc/example.css
+	newman pal.1.template ${PN}.1
 
-	cd src || die "failed to change to the src directory"
-	emake DESTDIR="${D}" install-man install-bin install-share
+	emake -C src DESTDIR="${D}" install-bin install-share
 
 	if use nls; then
 		emake DESTDIR="${D}" install-mo