1 |
commit: ecfe5171a4fef78ca7f8671368a63ffb05b6dd05 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 12:50:24 2022 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 12:51:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecfe5171 |
7 |
|
8 |
app-text/po4a: new upstream release |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
app-text/po4a/Manifest | 1 + |
14 |
app-text/po4a/files/po4a-0.67-man.patch | 18 +++++++++++ |
15 |
app-text/po4a/po4a-0.67.ebuild | 54 +++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 73 insertions(+) |
17 |
|
18 |
diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest |
19 |
index 1df54b9b9840..ff88ee38b1a7 100644 |
20 |
--- a/app-text/po4a/Manifest |
21 |
+++ b/app-text/po4a/Manifest |
22 |
@@ -2,3 +2,4 @@ DIST po4a-0.63.tar.gz 4067940 BLAKE2B 4cfa4163c21f5f8b783a5bdc29595f10cd172f7813 |
23 |
DIST po4a-0.64.tar.gz 4121565 BLAKE2B a579aabb4245501be4ec7c319e8cef91db2e10883a09ef5a7eaf2d97aad64e8e59f25101c20286c955067fef2f58bc08c9865d5d608dd72913a38eaaff0ac542 SHA512 3d51aaa5894365087523b82e218819ba8a92d3cbc1b389648526f26fbbf37ccaa7ed6643bb388e5fa73a7a1abadee2b4ee2ebbcac14790c56567bf1a3e766fb0 |
24 |
DIST po4a-0.65.tar.gz 4152612 BLAKE2B 81d330f234cae10f228b5de7e8417f79d7008f827faf676a68c83b05044a2198c1c03f8d19d8bbbfdb71a83cb93abc319e7e6ac5ce57704294d0f3b858bb9b56 SHA512 eea2ddc1344d371ee685e73dc3c3b1b58d24f8bae7edbe7f2112bfead1c481c6796d02c5f7d9fc9bbac57bd93c4194ade51368bb8b29ba62aee333a7afa2e7e6 |
25 |
DIST po4a-0.66.tar.gz 4240059 BLAKE2B 1d88665b8aa0d7f81854c97265f483934adc51503c2d33252d6ae08a00fddfa8aaa6e9c652f764ae46bf14fea3bcd1093f923fcbf08d96e97296954199e9b900 SHA512 f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4 |
26 |
+DIST po4a-0.67.tar.gz 4466869 BLAKE2B c4dab0e40e7f5eb24ec85abf8a02131144b181d9b783a5dccc30221d1cc3a493f16d7c2faf8284c6d2f2259661a6f2c280624e5fd16e2d4d0bf878f8291ef7b5 SHA512 6445db615ac1a2e752daca7dca0c44a88e74c7a26c06ba8e7cb6bdeeaacce78cb74a671579dd95ee8341d817e16717e8cf99022a37c5d152e0c9828bd6aae3d9 |
27 |
|
28 |
diff --git a/app-text/po4a/files/po4a-0.67-man.patch b/app-text/po4a/files/po4a-0.67-man.patch |
29 |
new file mode 100644 |
30 |
index 000000000000..6c79ebf77dd2 |
31 |
--- /dev/null |
32 |
+++ b/app-text/po4a/files/po4a-0.67-man.patch |
33 |
@@ -0,0 +1,18 @@ |
34 |
+--- a/Po4aBuilder.pm |
35 |
++++ b/Po4aBuilder.pm |
36 |
+@@ -234,7 +234,6 @@ |
37 |
+ } |
38 |
+ $parser->parse_from_file ($file, $out); |
39 |
+ |
40 |
+- system("gzip -9 -f $out") and die; |
41 |
+ unlink "$file" || die; |
42 |
+ } |
43 |
+ |
44 |
+@@ -253,7 +252,6 @@ |
45 |
+ print "Convert $outdir/$outfile.$section (online docbook.xsl file). "; |
46 |
+ system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die; |
47 |
+ } |
48 |
+- system ("gzip -9 -f $outdir/$outfile.$section") and die; |
49 |
+ } |
50 |
+ unlink "$file" || die; |
51 |
+ } |
52 |
|
53 |
diff --git a/app-text/po4a/po4a-0.67.ebuild b/app-text/po4a/po4a-0.67.ebuild |
54 |
new file mode 100644 |
55 |
index 000000000000..a5942928f213 |
56 |
--- /dev/null |
57 |
+++ b/app-text/po4a/po4a-0.67.ebuild |
58 |
@@ -0,0 +1,54 @@ |
59 |
+# Copyright 1999-2022 Gentoo Authors |
60 |
+# Distributed under the terms of the GNU General Public License v2 |
61 |
+ |
62 |
+EAPI="8" |
63 |
+PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja kn ko nb nl pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_CN zh_HK zh_Hant" |
64 |
+ |
65 |
+inherit perl-module plocale |
66 |
+ |
67 |
+DESCRIPTION="Tools to ease the translation of documentation" |
68 |
+HOMEPAGE="https://po4a.org/" |
69 |
+SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz" |
70 |
+ |
71 |
+LICENSE="GPL-2+" |
72 |
+SLOT="0" |
73 |
+KEYWORDS="~amd64 ~x86" |
74 |
+IUSE="test" |
75 |
+RESTRICT="!test? ( test )" |
76 |
+ |
77 |
+RDEPEND="app-text/opensp |
78 |
+ dev-libs/libxslt |
79 |
+ dev-perl/Locale-gettext |
80 |
+ dev-perl/Pod-Parser |
81 |
+ dev-perl/SGMLSpm |
82 |
+ dev-perl/Syntax-Keyword-Try |
83 |
+ dev-perl/TermReadKey |
84 |
+ dev-perl/Text-WrapI18N |
85 |
+ dev-perl/Unicode-LineBreak |
86 |
+ dev-perl/YAML-Tiny |
87 |
+ sys-devel/gettext" |
88 |
+DEPEND="${RDEPEND}" |
89 |
+BDEPEND="app-text/docbook-xml-dtd:4.1.2 |
90 |
+ app-text/docbook-xsl-stylesheets |
91 |
+ dev-perl/Module-Build |
92 |
+ sys-devel/gettext |
93 |
+ test? ( |
94 |
+ app-text/docbook-sgml-dtd:4.1 |
95 |
+ dev-perl/Test-Pod |
96 |
+ virtual/latex-base |
97 |
+ )" |
98 |
+ |
99 |
+PATCHES=( "${FILESDIR}"/${P}-man.patch ) |
100 |
+ |
101 |
+DIST_TEST="do" |
102 |
+ |
103 |
+src_prepare() { |
104 |
+ plocale_find_changes "${S}/po/bin" '' '.po' |
105 |
+ |
106 |
+ rm_locale() { |
107 |
+ PERL_RM_FILES+=( po/{bin,pod}/${1}.po ) |
108 |
+ } |
109 |
+ plocale_for_each_disabled_locale rm_locale |
110 |
+ |
111 |
+ perl-module_src_prepare |
112 |
+} |