dev-tex/slatex: port to EAPI=7
authorMikle Kolyada <zlogene@gentoo.org>
Sun, 19 Jan 2020 14:31:24 +0000 (17:31 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 19 Jan 2020 14:31:24 +0000 (17:31 +0300)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
dev-tex/slatex/slatex-20090928_p20180415.ebuild

index a74acfadcc9893331577b254749d33cae90369f1..afcfca95701d43f87e14229bbd3c5917ee7000e1 100644 (file)
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 # for updating the texmf database, id est latex-package_rehash
 inherit latex-package
 
-DESCRIPTION="SLaTeX is a Scheme program allowing you to write Scheme in your (La)TeX source"
+DESCRIPTION="A Scheme program allowing you to write Scheme in your (La)TeX source"
 HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html"
 SRC_URI="http://www.ccs.neu.edu/home/dorai/slatex/${PN}.tar.bz2 -> ${P}.tar.bz2"
 
@@ -19,10 +19,11 @@ DEPEND="${RDEPEND}
        dev-scheme/scmxlate"
 
 S="${WORKDIR}/${PN}"
+
 TARGET_DIR="/usr/share/${PN}"
 
 src_prepare() {
-       eapply_user
+       default
        sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \
                -i scmxlate-slatex-src.scm || die "sed failed"
 }