Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/yatex/, app-emacs/yatex/files/
Date: Tue, 04 Jan 2022 10:43:48
Message-Id: 1641293015.6dd2cc20f56fc8af87855561d07d8d2fbed72734.ulm@gentoo
1 commit: 6dd2cc20f56fc8af87855561d07d8d2fbed72734
2 Author: Ulrich Mテシller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 4 10:23:37 2022 +0000
4 Commit: Ulrich Mテシller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 4 10:43:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd2cc20
7
8 app-emacs/yatex: Version bump to 1.82
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Ulrich Mテシller <ulm <AT> gentoo.org>
12
13 app-emacs/yatex/Manifest | 1 +
14 app-emacs/yatex/files/yatex-1.82-texinfo.patch | 22 ++++++++++
15 app-emacs/yatex/yatex-1.82.ebuild | 58 ++++++++++++++++++++++++++
16 3 files changed, 81 insertions(+)
17
18 diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
19 index 7ff4894c24f5..475ff65ae333 100644
20 --- a/app-emacs/yatex/Manifest
21 +++ b/app-emacs/yatex/Manifest
22 @@ -1 +1,2 @@
23 DIST yatex1.80.tar.gz 376944 BLAKE2B 355726fb3b38bfbc314647739d4af6e588848b5ade208fe1e026106a7cc2c220edcf10214f37ee7c9cc461ecb3e776c3969e329d5a331b3d8ce9f669f2361e26 SHA512 6548d1ac95ce95198468698d9b91449736e4be8af15d29352c00f7604fd7b34b2c606afb2d90d1115fd64dc859efdd9c993a6b3733f9321ca7671615977b4bd5
24 +DIST yatex1.82.tar.gz 387358 BLAKE2B 77c88563e3beb7b29ac8a4d7204d14b966c9a88b1c2f04c6160089f0b61a70c9d6aa135d2e1cee6e13a90cc108428ce80e7ef0d0b8852b9a8651e67f34af7e1e SHA512 8c2890fc12e93aace5ac51e24da315a9d241aec023a3c67187c1fd28d2a7a02d1688b7e1177e1ba13411ecb394b5d581298c735cd80195e663bbdcf240f10fe5
25
26 diff --git a/app-emacs/yatex/files/yatex-1.82-texinfo.patch b/app-emacs/yatex/files/yatex-1.82-texinfo.patch
27 new file mode 100644
28 index 000000000000..1938b1a766d2
29 --- /dev/null
30 +++ b/app-emacs/yatex/files/yatex-1.82-texinfo.patch
31 @@ -0,0 +1,22 @@
32 +--- yatex1.82/docs/yatexe.tex
33 ++++ yatex1.82/docs/yatexe.tex
34 +@@ -382,7 +382,7 @@
35 + @section Special Filtering Region
36 + A region like below will be passed to external filter command.
37 + @example
38 +-%#BEGIN FILTER{foo.pdf}{dot -T %t -o %o}
39 ++%#BEGIN FILTER@{foo.pdf@}@{dot -T %t -o %o@}
40 + \if0
41 + ....blah blah blah...
42 + ....blah blah blah...
43 +--- yatex1.82/docs/yatexj.tex
44 ++++ yatex1.82/docs/yatexj.tex
45 +@@ -488,7 +488,7 @@
46 + ます。そのためには以下のようなソースを文書中に書きます。
47 +
48 + @example
49 +-%#BEGIN FILTER{foo.pdf}{blockdiag -T %t -o %o}
50 ++%#BEGIN FILTER@{foo.pdf@}@{blockdiag -T %t -o %o@}
51 + \if0
52 + ---
53 + ....blah blah blah...
54
55 diff --git a/app-emacs/yatex/yatex-1.82.ebuild b/app-emacs/yatex/yatex-1.82.ebuild
56 new file mode 100644
57 index 000000000000..bdf92dd93aab
58 --- /dev/null
59 +++ b/app-emacs/yatex/yatex-1.82.ebuild
60 @@ -0,0 +1,58 @@
61 +# Copyright 1999-2022 Gentoo Authors
62 +# Distributed under the terms of the GNU General Public License v2
63 +
64 +EAPI=8
65 +
66 +inherit elisp
67 +
68 +DESCRIPTION="Yet Another TeX mode for Emacs"
69 +HOMEPAGE="http://www.yatex.org/"
70 +SRC_URI="http://www.${PN}.org/${P/-}.tar.gz"
71 +S="${WORKDIR}/${P/-}"
72 +
73 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
74 +SLOT="0"
75 +LICENSE="BSD-2"
76 +IUSE="l10n_ja"
77 +
78 +BDEPEND="l10n_ja? ( virtual/libiconv )"
79 +
80 +PATCHES=(
81 + "${FILESDIR}"/${PN}-1.76-direntry.patch
82 + "${FILESDIR}"/${PN}-1.80-texinfo-5.patch
83 + "${FILESDIR}"/${P}-texinfo.patch
84 +)
85 +SITEFILE="50${PN}-gentoo.el"
86 +
87 +src_prepare() {
88 + sed -i "/(help-dir/,/)))/c\ (help-dir \"${SITEETC}/${PN}\"))" ${PN}hlp.el
89 +
90 + elisp_src_prepare
91 +}
92 +
93 +src_compile() {
94 + cd docs
95 + makeinfo {${PN},yahtml}e.tex || die
96 +
97 + if use l10n_ja; then
98 + iconv -f WINDOWS-31J -t UTF-8 ${PN}j.tex > ${PN}-ja.texi || die
99 + iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex > yahtml-ja.texi || die
100 + makeinfo {${PN},yahtml}-ja.texi || die
101 + fi
102 +}
103 +
104 +src_install() {
105 + elisp-install ${PN} *.el
106 + elisp-site-file-install "${FILESDIR}"/${SITEFILE}
107 +
108 + insinto ${SITEETC}/${PN}
109 + doins help/YATEXHLP.eng
110 + doinfo docs/{${PN},yahtml}.info*
111 + dodoc install docs/*.eng
112 +
113 + if use l10n_ja; then
114 + doins help/YATEXHLP.jp
115 + doinfo docs/{${PN},yahtml}-ja.info*
116 + dodoc 00readme ${PN}.new docs/{htmlqa,qanda,*.doc}
117 + fi
118 +}