summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-04 08:54:19 +0000
committerSam James <sam@gentoo.org>2021-04-04 09:15:51 +0000
commit1f3a422b750048510bdd9c9039deaf711c1d62ac (patch)
treea382e7f2e5137bbef88a3768a9c20d1d4a9dd5ca /games-misc
parentgames-misc/fortune-mod-norbert-tretkowski: port to EAPI 7 (diff)
downloadgentoo-1f3a422b750048510bdd9c9039deaf711c1d62ac.tar.gz
gentoo-1f3a422b750048510bdd9c9039deaf711c1d62ac.tar.bz2
gentoo-1f3a422b750048510bdd9c9039deaf711c1d62ac.zip
games-misc/fortune-mod-osfortune: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/fortune-mod-osfortune/files/spelling.patch4
-rw-r--r--games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild11
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 2871ec2c00e3..70929db65b9e 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 4f66714592db..2c8783a0b9a3 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
}