commit:     752b7f32691128aa70c1acdf146c75ac490b1752
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 27 14:19:26 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Jul 27 14:19:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752b7f32

app-emacs/yatex: update to EAPI 6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-emacs/yatex/metadata.xml      | 32 ++++++++++++++++----------------
 app-emacs/yatex/yatex-1.77.ebuild | 29 +++++++++++++++--------------
 2 files changed, 31 insertions(+), 30 deletions(-)

diff --git a/app-emacs/yatex/metadata.xml b/app-emacs/yatex/metadata.xml
index d82c1ecb87c..809a13113af 100644
--- a/app-emacs/yatex/metadata.xml
+++ b/app-emacs/yatex/metadata.xml
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="project">
-  <email>[email protected]</email>
-  <name>Gentoo GNU Emacs project</name>
-</maintainer>
-<maintainer type="project">
-  <email>[email protected]</email>
-  <name>Cjk</name>
-</maintainer>
-<longdescription lang="en">
-  YaTeX is an intelligent, acquisitive and integrated package which reduces
-  your efforts of composing LaTeX source on Emacs. And yahtml is the honest
-  and bright YaTeX-compatible major-mode package for writing HTML. If you have
-  noticed the power of YaTeX, you can drive yahtml over the HTML files quickly
-  and steadily. And vice versa, of course.
-</longdescription>
-<stabilize-allarches/>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo GNU Emacs project</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Cjk</name>
+       </maintainer>
+       <longdescription lang="en">
+               YaTeX is an intelligent, acquisitive and integrated package 
which reduces
+               your efforts of composing LaTeX source on Emacs. And yahtml is 
the honest
+               and bright YaTeX-compatible major-mode package for writing 
HTML. If you have
+               noticed the power of YaTeX, you can drive yahtml over the HTML 
files quickly
+               and steadily. And vice versa, of course.
+       </longdescription>
+       <stabilize-allarches/>
 </pkgmetadata>

diff --git a/app-emacs/yatex/yatex-1.77.ebuild 
b/app-emacs/yatex/yatex-1.77.ebuild
index 7b7534cc778..3909baa70f8 100644
--- a/app-emacs/yatex/yatex-1.77.ebuild
+++ b/app-emacs/yatex/yatex-1.77.ebuild
@@ -1,20 +1,21 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI="6"
 
-inherit elisp eutils
+inherit elisp
 
 DESCRIPTION="Yet Another TeX mode for Emacs"
 HOMEPAGE="http://www.yatex.org/";
-SRC_URI="http://www.yatex.org/${P/-/}.tar.gz";
+SRC_URI="http://www.${PN}.org/${P/-}.tar.gz";
 
 KEYWORDS="amd64 ppc ~ppc64 x86"
 SLOT="0"
 LICENSE="YaTeX"
 IUSE="l10n_ja"
 
-S="${WORKDIR}/${P/-/}"
+S="${WORKDIR}/${P/-}"
+
 ELISP_PATCHES="${PN}-1.76-gentoo.patch
        ${PN}-1.76-direntry.patch
        ${PN}-1.77-texinfo-5.patch"
@@ -25,27 +26,27 @@ src_compile() {
        # that are only available under X
 
        cd docs
-       makeinfo yatexe.tex yahtmle.tex || die
+       makeinfo {${PN},yahtml}e.tex || die
 
        if use l10n_ja; then
-               iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
-               iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die
-               makeinfo yatex-ja.texi yahtml-ja.texi || die
+               iconv -f WINDOWS-31J -t UTF-8 ${PN}j.tex  > ${PN}-ja.texi  || 
die
+               iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex > yahtml-ja.texi || 
die
+               makeinfo {${PN},yahtml}-ja.texi || die
        fi
 }
 
 src_install() {
-       elisp-install ${PN} *.el || die
-       elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+       elisp-install ${PN} *.el
+       elisp-site-file-install "${FILESDIR}"/${SITEFILE}
 
        insinto ${SITEETC}/${PN}
        doins help/YATEXHLP.eng
-       doinfo docs/yatex.info* docs/yahtml.info*
+       doinfo docs/{${PN},yahtml}.info*
        dodoc docs/*.eng
 
        if use l10n_ja; then
                doins help/YATEXHLP.jp
-               doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
-               dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
+               doinfo docs/{${PN},yahtml}-ja.info*
+               dodoc 00readme install docs/{htmlqa,qanda,*.doc}
        fi
 }

Reply via email to