summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-21 10:07:08 +0100
committerSam James <sam@gentoo.org>2021-04-21 19:50:04 +0100
commitfdc6d6ab948c9732478d9135336c94f90d1186d6 (patch)
tree5c5a1fc37b29eee08331879f719aabaa05282bb3 /games-misc/funny-manpages
parentgames-action/xbomber: update EAPI 6 -> 7, respect CC (diff)
downloadgentoo-fdc6d6ab948c9732478d9135336c94f90d1186d6.tar.gz
gentoo-fdc6d6ab948c9732478d9135336c94f90d1186d6.tar.bz2
gentoo-fdc6d6ab948c9732478d9135336c94f90d1186d6.zip
games-misc/funny-manpages: update EAPI 6 -> 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc/funny-manpages')
-rw-r--r--games-misc/funny-manpages/funny-manpages-2.3.ebuild13
1 files 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 d8bd6f0300dd..a2effd00e0c0 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