Skip to content

Commit

Permalink
app-emacs/yatex: update to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
hattya committed Jul 27, 2018
1 parent d772673 commit 752b7f3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
32 changes: 16 additions & 16 deletions app-emacs/yatex/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>
29 changes: 15 additions & 14 deletions app-emacs/yatex/yatex-1.77.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 752b7f3

Please sign in to comment.