From 8b2790f9d652e83146fccbf52c284b7e5cd3fc8f Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 19 Apr 2021 10:02:56 +0100 Subject: app-text/xlhtml: port to EAPI 7 Signed-off-by: Sam James --- app-text/xlhtml/xlhtml-0.5.1_p6.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'app-text/xlhtml') diff --git a/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild b/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild index 8322bc031d19..ddc365d4a844 100644 --- a/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild +++ b/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild @@ -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 -- cgit v1.2.3-65-gdbad