From 165b508a58cbaec245f428e7dcd5a0ce2c8807dc Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 19 Apr 2021 10:15:10 +0100 Subject: app-text/spellutils: port to EAPI 7 Signed-off-by: Sam James --- app-text/spellutils/files/spellutils-0.7-nls.patch | 4 ++-- app-text/spellutils/spellutils-0.7.ebuild | 20 +++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/app-text/spellutils/files/spellutils-0.7-nls.patch b/app-text/spellutils/files/spellutils-0.7-nls.patch index ff36f67a9823..eed9d8dd9d5a 100644 --- a/app-text/spellutils/files/spellutils-0.7-nls.patch +++ b/app-text/spellutils/files/spellutils-0.7-nls.patch @@ -1,5 +1,5 @@ ---- po/Makefile.in.in.orig 2000-04-16 12:04:50.000000000 +0200 -+++ po/Makefile.in.in 2013-07-24 04:14:20.698869858 +0200 +--- a/po/Makefile.in.in ++++ b/po/Makefile.in.in @@ -119,8 +119,8 @@ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/app-text/spellutils/spellutils-0.7.ebuild b/app-text/spellutils/spellutils-0.7.ebuild index 69a0bcbded7f..36331975124e 100644 --- a/app-text/spellutils/spellutils-0.7.ebuild +++ b/app-text/spellutils/spellutils-0.7.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit epatch toolchain-funcs +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="spellutils includes 'newsbody' (useful for spellchecking in mails, etc.)" HOMEPAGE="http://home.worldonline.dk/byrial/spellutils/" @@ -13,18 +14,15 @@ SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~mips ppc ~sparc x86" IUSE="nls" -DEPEND=" - nls? ( sys-devel/gettext ) -" -DEPEND=" - nls? ( virtual/libintl ) -" +DEPEND="nls? ( virtual/libintl )" +RDEPEND="${DEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" DOCS=( NEWS README ) -src_prepare() { - epatch "${FILESDIR}"/${P}-nls.patch -} +PATCHES=( + "${FILESDIR}"/${P}-nls.patch +) src_configure() { econf $(use_enable nls) -- cgit v1.2.3-65-gdbad