app-text/xlhtml: port to EAPI 7

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-19 20:11:24 +01:00
parent 4eb0f1f200
commit 8b2790f9d6
+8 -5
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit autotools epatch vcs-clean
inherit autotools vcs-clean
MY_PV=${PV/_p*/}
DEB_PR=${PV/*_p/}
@@ -13,17 +13,20 @@ HOMEPAGE="http://chicago.sourceforge.net/xlhtml/ http://packages.debian.org/etch
SRC_URI="
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_PR}.diff.gz"
S="${WORKDIR}"/${PN}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
S=${WORKDIR}/${PN}
PATCHES=(
"${WORKDIR}"/${PN}_${MY_PV}-${DEB_PR}.diff
)
src_prepare() {
default
ecvs_clean
epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_PR}.diff
mv configure.{in,ac} || die