Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/yatex/
Date: Fri, 27 Jul 2018 14:27:41
Message-Id: 1532701166.752b7f32691128aa70c1acdf146c75ac490b1752.hattya@gentoo
1 commit: 752b7f32691128aa70c1acdf146c75ac490b1752
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 27 14:19:26 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 27 14:19:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752b7f32
7
8 app-emacs/yatex: update to EAPI 6
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-emacs/yatex/metadata.xml | 32 ++++++++++++++++----------------
13 app-emacs/yatex/yatex-1.77.ebuild | 29 +++++++++++++++--------------
14 2 files changed, 31 insertions(+), 30 deletions(-)
15
16 diff --git a/app-emacs/yatex/metadata.xml b/app-emacs/yatex/metadata.xml
17 index d82c1ecb87c..809a13113af 100644
18 --- a/app-emacs/yatex/metadata.xml
19 +++ b/app-emacs/yatex/metadata.xml
20 @@ -1,20 +1,20 @@
21 <?xml version="1.0" encoding="UTF-8"?>
22 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
23 <pkgmetadata>
24 -<maintainer type="project">
25 - <email>gnu-emacs@g.o</email>
26 - <name>Gentoo GNU Emacs project</name>
27 -</maintainer>
28 -<maintainer type="project">
29 - <email>cjk@g.o</email>
30 - <name>Cjk</name>
31 -</maintainer>
32 -<longdescription lang="en">
33 - YaTeX is an intelligent, acquisitive and integrated package which reduces
34 - your efforts of composing LaTeX source on Emacs. And yahtml is the honest
35 - and bright YaTeX-compatible major-mode package for writing HTML. If you have
36 - noticed the power of YaTeX, you can drive yahtml over the HTML files quickly
37 - and steadily. And vice versa, of course.
38 -</longdescription>
39 -<stabilize-allarches/>
40 + <maintainer type="project">
41 + <email>gnu-emacs@g.o</email>
42 + <name>Gentoo GNU Emacs project</name>
43 + </maintainer>
44 + <maintainer type="project">
45 + <email>cjk@g.o</email>
46 + <name>Cjk</name>
47 + </maintainer>
48 + <longdescription lang="en">
49 + YaTeX is an intelligent, acquisitive and integrated package which reduces
50 + your efforts of composing LaTeX source on Emacs. And yahtml is the honest
51 + and bright YaTeX-compatible major-mode package for writing HTML. If you have
52 + noticed the power of YaTeX, you can drive yahtml over the HTML files quickly
53 + and steadily. And vice versa, of course.
54 + </longdescription>
55 + <stabilize-allarches/>
56 </pkgmetadata>
57
58 diff --git a/app-emacs/yatex/yatex-1.77.ebuild b/app-emacs/yatex/yatex-1.77.ebuild
59 index 7b7534cc778..3909baa70f8 100644
60 --- a/app-emacs/yatex/yatex-1.77.ebuild
61 +++ b/app-emacs/yatex/yatex-1.77.ebuild
62 @@ -1,20 +1,21 @@
63 -# Copyright 1999-2016 Gentoo Foundation
64 +# Copyright 1999-2018 Gentoo Foundation
65 # Distributed under the terms of the GNU General Public License v2
66
67 -EAPI=5
68 +EAPI="6"
69
70 -inherit elisp eutils
71 +inherit elisp
72
73 DESCRIPTION="Yet Another TeX mode for Emacs"
74 HOMEPAGE="http://www.yatex.org/"
75 -SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
76 +SRC_URI="http://www.${PN}.org/${P/-}.tar.gz"
77
78 KEYWORDS="amd64 ppc ~ppc64 x86"
79 SLOT="0"
80 LICENSE="YaTeX"
81 IUSE="l10n_ja"
82
83 -S="${WORKDIR}/${P/-/}"
84 +S="${WORKDIR}/${P/-}"
85 +
86 ELISP_PATCHES="${PN}-1.76-gentoo.patch
87 ${PN}-1.76-direntry.patch
88 ${PN}-1.77-texinfo-5.patch"
89 @@ -25,27 +26,27 @@ src_compile() {
90 # that are only available under X
91
92 cd docs
93 - makeinfo yatexe.tex yahtmle.tex || die
94 + makeinfo {${PN},yahtml}e.tex || die
95
96 if use l10n_ja; then
97 - iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
98 - iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die
99 - makeinfo yatex-ja.texi yahtml-ja.texi || die
100 + iconv -f WINDOWS-31J -t UTF-8 ${PN}j.tex > ${PN}-ja.texi || die
101 + iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex > yahtml-ja.texi || die
102 + makeinfo {${PN},yahtml}-ja.texi || die
103 fi
104 }
105
106 src_install() {
107 - elisp-install ${PN} *.el || die
108 - elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
109 + elisp-install ${PN} *.el
110 + elisp-site-file-install "${FILESDIR}"/${SITEFILE}
111
112 insinto ${SITEETC}/${PN}
113 doins help/YATEXHLP.eng
114 - doinfo docs/yatex.info* docs/yahtml.info*
115 + doinfo docs/{${PN},yahtml}.info*
116 dodoc docs/*.eng
117
118 if use l10n_ja; then
119 doins help/YATEXHLP.jp
120 - doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
121 - dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
122 + doinfo docs/{${PN},yahtml}-ja.info*
123 + dodoc 00readme install docs/{htmlqa,qanda,*.doc}
124 fi
125 }