dev-tex/catdvi: Bump EAPI to 7.
authorUlrich Müller <ulm@gentoo.org>
Sun, 8 Sep 2019 17:10:06 +0000 (19:10 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sun, 8 Sep 2019 17:31:56 +0000 (19:31 +0200)
Specify LICENSE more precisely.

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
dev-tex/catdvi/catdvi-0.14-r2.ebuild [moved from dev-tex/catdvi/catdvi-0.14-r1.ebuild with 63% similarity]

similarity index 63%
rename from dev-tex/catdvi/catdvi-0.14-r1.ebuild
rename to dev-tex/catdvi/catdvi-0.14-r2.ebuild
index 7783adcdb420e544b6c680453636022c443c37f1..1f4af1e9e18533b5df5dbca52e3b48aa16e69dcc 100644 (file)
@@ -1,28 +1,29 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit eutils autotools toolchain-funcs flag-o-matic
+inherit autotools toolchain-funcs flag-o-matic
 
 DESCRIPTION="DVI to plain text translator"
 HOMEPAGE="http://catdvi.sourceforge.net"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
 
 RDEPEND="virtual/tex-base
        dev-libs/kpathsea"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
-       epatch "${FILESDIR}/${P}-kpathsea.patch"
+       eapply "${FILESDIR}"/${P}-kpathsea.patch
+       eapply_user
        eautoconf
-       has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
+       has_version '>=dev-libs/kpathsea-6.2.1' \
+               && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
 }
 
 src_compile() {