dev-tex/svninfo: bump EAPI and stuff
authorAaron Bauman <bman@gentoo.org>
Sat, 9 Nov 2019 22:51:51 +0000 (17:51 -0500)
committerAaron Bauman <bman@gentoo.org>
Sat, 9 Nov 2019 22:52:10 +0000 (17:52 -0500)
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-tex/svninfo/svninfo-0.7.4.ebuild

index 1e2849117738a3dc65d429f885a6647c4f25ade0..6b97d0820bf631accdbed6d87789962555f41c06 100644 (file)
@@ -1,29 +1,27 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
-inherit latex-package eutils
+inherit latex-package
 
-LICENSE="LPPL-1.2"
 DESCRIPTION="A LaTeX module to access SVN version info"
-HOMEPAGE="http://www.brucker.ch/projects/svninfo/index.en.html"
-SRC_URI="http://www.brucker.ch/projects/svninfo/download/${P}.tar.gz"
-SLOT="0"
+HOMEPAGE="https://www.brucker.ch/projects/svninfo/index.en.html"
+SRC_URI="https://www.brucker.ch/projects/svninfo/download/${P}.tar.gz"
+
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+LICENSE="LPPL-1.2"
+SLOT="0"
 IUSE=""
 
-DOCS="README"
+DOCS=( "README" )
 
-TEXMF=/usr/share/texmf-site
+PATCHES=( "${FILESDIR}/${PN}-0.5-latex-compile.patch" )
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}/${PN}-0.5-latex-compile.patch"
-}
+TEXMF=/usr/share/texmf-site
 
 src_compile() {
        export VARTEXFONTS="${T}/fonts"
-       emake -j1 || die "compilation failed"
+       emake -j1
 }