From fdc6d6ab948c9732478d9135336c94f90d1186d6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 21 Apr 2021 10:07:08 +0100 Subject: games-misc/funny-manpages: update EAPI 6 -> 7 Signed-off-by: Sam James --- games-misc/funny-manpages/funny-manpages-2.3.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'games-misc') 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 -- cgit v1.2.3-65-gdbad