diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 10:15:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:11:27 +0100 |
commit | 165b508a58cbaec245f428e7dcd5a0ce2c8807dc (patch) | |
tree | c178cc478b763500ac49a3862c0baa80bd1a1f56 | |
parent | app-text/xlhtml: respect AR (diff) | |
download | gentoo-165b508a58cbaec245f428e7dcd5a0ce2c8807dc.tar.gz gentoo-165b508a58cbaec245f428e7dcd5a0ce2c8807dc.tar.bz2 gentoo-165b508a58cbaec245f428e7dcd5a0ce2c8807dc.zip |
app-text/spellutils: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | app-text/spellutils/files/spellutils-0.7-nls.patch | 4 | ||||
-rw-r--r-- | 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) |