commit: fdc6d6ab948c9732478d9135336c94f90d1186d6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 09:07:08 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 18:50:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc6d6ab
games-misc/funny-manpages: update EAPI 6 -> 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-misc/funny-manpages/funny-manpages-2.3.ebuild | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/games-misc/funny-manpages/funny-manpages-2.3.ebuild
b/games-misc/funny-manpages/funny-manpages-2.3.ebuild
index d8bd6f0300d..a2effd00e0c 100644
--- a/games-misc/funny-manpages/funny-manpages-2.3.ebuild
+++ b/games-misc/funny-manpages/funny-manpages-2.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
MY_R="${PV:0-1}"
MY_P="${PN}_${PV/_p?/}"
@@ -9,21 +9,20 @@ DESCRIPTION="funny manpages collected from various sources"
HOMEPAGE="https://www.debian.org/"
SRC_URI="mirror://debian/pool/main/f/funny-manpages/${MY_P}.orig.tar.gz"
-if [[ "${PV}" = *_p* ]] ; then
+if [[ "${PV}" == *_p* ]] ; then
SRC_URI+="
mirror://debian/pool/main/f/funny-manpages/${MY_P}-${MY_R}.diff.gz"
fi
+S="${WORKDIR}/${PN}/man"
+
LICENSE="freedist" #465704
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~mips ~ppc64 ~s390 ~x86"
-IUSE=""
RDEPEND="virtual/man"
-S="${WORKDIR}/${PN}/man"
-
src_prepare() {
- if [[ "${PV}" = *_p* ]] ; then
+ if [[ "${PV}" == *_p* ]] ; then
eapply "${WORKDIR}"/${MY_P}-${MY_R}.diff
fi