public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/wumpus/
Date: Sun,  4 Apr 2021 09:16:27 +0000 (UTC)	[thread overview]
Message-ID: <1617527766.fcedff0a5ba2bfc4236fcccfe92d9ad40e41fd6f.sam@gentoo> (raw)

commit:     fcedff0a5ba2bfc4236fcccfe92d9ad40e41fd6f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:12:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:16:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcedff0a

games-misc/wumpus: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-misc/wumpus/wumpus-1.4-r1.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/games-misc/wumpus/wumpus-1.4-r1.ebuild b/games-misc/wumpus/wumpus-1.4-r1.ebuild
index 56125c56d36..9dfa38b97f8 100644
--- a/games-misc/wumpus/wumpus-1.4-r1.ebuild
+++ b/games-misc/wumpus/wumpus-1.4-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit toolchain-funcs
 
 DESCRIPTION="Classic Hunt the Wumpus Adventure Game"
@@ -9,16 +10,14 @@ HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wump/"
 SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.c
 	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.6
 	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.info"
+S="${WORKDIR}"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="sys-apps/less"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}
+RDEPEND="${DEPEND}"
 
 src_unpack() {
 	cp "${DISTDIR}"/wump.{info,c,6} "${S}/" || die
@@ -26,7 +25,8 @@ src_unpack() {
 
 src_compile() {
 	touch pathnames.h
-	[ -z "${PAGER}" ] && PAGER=/usr/bin/less
+
+	[[ -z "${PAGER}" ]] && PAGER=/usr/bin/less
 	$(tc-getCC) ${LDFLAGS} -Dlint -D_PATH_PAGER=\"${PAGER}\" \
 		-D_PATH_WUMPINFO=\"/usr/share/${PN}/wump.info\" ${CFLAGS} \
 		-o wump wump.c || die


             reply	other threads:[~2021-04-04  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04  9:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-04  9:16 [gentoo-commits] repo/gentoo:master commit in: games-misc/wumpus/ Sam James
2016-10-11 22:59 Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617527766.fcedff0a5ba2bfc4236fcccfe92d9ad40e41fd6f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox