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/fortune-mod-it/
Date: Sun,  4 Apr 2021 09:16:26 +0000 (UTC)	[thread overview]
Message-ID: <1617527747.dc8b7e67e41621b2e3bb31c27753e6439c6b0229.sam@gentoo> (raw)

commit:     dc8b7e67e41621b2e3bb31c27753e6439c6b0229
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 08:50:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:15:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8b7e67

games-misc/fortune-mod-it: port to EAPI 7

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

 games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
index 9b8290d1d2f..95613acea16 100644
--- a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
+++ b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
@@ -1,10 +1,12 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+
 DESCRIPTION="Database of the Italian cookies for the fortune program"
 HOMEPAGE="http://www.fortune-it.net/"
 SRC_URI="http://www.fortune-it.net/download/fortune-it-${PVR}.tar.gz"
+S="${WORKDIR}"/fortune-it-${PVR}
 
 LICENSE="freedist"
 SLOT="0"
@@ -13,10 +15,12 @@ IUSE="offensive"
 
 DEPEND="games-misc/fortune-mod"
 
-S=${WORKDIR}/fortune-it-${PVR}
-
 src_prepare() {
-	use offensive || rm -f testi/*-o
+	default
+
+	if ! use offensive ; then
+		rm -f testi/*-o || die
+	fi
 }
 
 src_compile() {


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

Thread overview: 6+ 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-12-04  2:45 [gentoo-commits] repo/gentoo:master commit in: games-misc/fortune-mod-it/ Sam James
2021-01-06 23:02 Fabian Groffen
2018-07-21 15:44 Mikle Kolyada
2018-03-30 21:33 Patrice Clement
2017-01-29 18:33 Fabian Groffen

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=1617527747.dc8b7e67e41621b2e3bb31c27753e6439c6b0229.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