* [gentoo-commits] repo/gentoo:master commit in: games-misc/fortune-mod-osfortune/, games-misc/fortune-mod-osfortune/files/
@ 2021-04-04 9:16 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-04-04 9:16 UTC (permalink / raw
To: gentoo-commits
commit: 1f3a422b750048510bdd9c9039deaf711c1d62ac
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 4 08:54:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 4 09:15:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f3a422b
games-misc/fortune-mod-osfortune: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-misc/fortune-mod-osfortune/files/spelling.patch | 4 ++--
.../fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild | 11 ++++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/games-misc/fortune-mod-osfortune/files/spelling.patch b/games-misc/fortune-mod-osfortune/files/spelling.patch
index 2871ec2c00e..70929db65b9 100644
--- a/games-misc/fortune-mod-osfortune/files/spelling.patch
+++ b/games-misc/fortune-mod-osfortune/files/spelling.patch
@@ -1,5 +1,5 @@
---- osfortune.orig 2004-08-18 07:40:54.000000000 -0400
-+++ osfortune 2004-08-19 07:14:41.008409016 -0400
+--- a/osfortune
++++ b/osfortune
@@ -15,7 +15,7 @@
-- Bruce Perens, on the future of Open Source software. (Open Sources, 1999 O'Reilly and Associates)
diff --git a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
index 4f66714592d..2c8783a0b9a 100644
--- a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
+++ b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
@@ -1,25 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils
+EAPI=7
DESCRIPTION="Open sources fortune file"
HOMEPAGE="https://web.archive.org/web/20030803031143/http://www.dibona.com/opensources/index.shtml"
SRC_URI="https://web.archive.org/web/20030919200547/http://www.dibona.com/opensources/osfortune.tar.gz"
+S="${WORKDIR}"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
-IUSE=""
DEPEND="games-misc/fortune-mod"
RDEPEND="${DEPEND}"
-S=${WORKDIR}
+PATCHES=(
+ "${FILESDIR}"/spelling.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/spelling.patch
+ default
strfile osfortune || die
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-04 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 9:16 [gentoo-commits] repo/gentoo:master commit in: games-misc/fortune-mod-osfortune/, games-misc/fortune-mod-osfortune/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox