dev-tex/pscyr: port to EAPI=7
authorMikle Kolyada <zlogene@gentoo.org>
Fri, 13 Dec 2019 17:59:49 +0000 (20:59 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 13 Dec 2019 17:59:49 +0000 (20:59 +0300)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
dev-tex/pscyr/pscyr-0.4d_beta9.ebuild

index c680a9c179c1cb691e0290ccd4598382024965d2..e9d3b15e720a605788815c7ae4792ff5e793fc50 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 inherit latex-package
 
@@ -9,10 +9,10 @@ DESCRIPTION="Type1 cyrillic fonts collection"
 HOMEPAGE="ftp://scon155.phys.msu.su/pub/russian/psfonts/"
 SRC_URI="ftp://scon155.phys.msu.su/pub/russian/psfonts/0.4d-beta/PSCyr-0.4-beta9-tex.tar.gz
                ftp://scon155.phys.msu.su/pub/russian/psfonts/0.4d-beta/PSCyr-0.4-beta9-type1.tar.gz"
+
 LICENSE="LPPL-1.2"
 
 SLOT="0"
-IUSE=""
 KEYWORDS="amd64 x86"
 
 SUPPLIER="public"
@@ -23,17 +23,17 @@ src_install() {
 
        for each in dvips/pscyr tex/latex/pscyr fonts/tfm/public/pscyr \
                fonts/vf/public/pscyr fonts/type1/public/pscyr fonts/afm/public/pscyr; do
-               cd "${S}"
-               cd "$each"
+               cd "${S}" || die
+               cd "$each" || die
                latex-package_src_install
        done
-       cd "${S}"
+       cd "${S}" || die
        insinto "${TEXMF}/fonts/map/dvips/pscyr"
        doins dvips/pscyr/pscyr.map
 
        for each in dvips/pscyr/*.enc; do
                insinto "${TEXMF}/fonts/enc/dvips/pscyr"
-               doins "$each"
+               doins "${each}"
        done
 
        insinto /etc/texmf/updmap.d