1 |
commit: 5439afa7a2d4e87ee8e7829eae4b1d01e3a1345f |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 27 12:49:55 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 27 12:52:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5439afa7 |
7 |
|
8 |
app-text/po4a: new upstream release |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
app-text/po4a/Manifest | 1 + |
14 |
app-text/po4a/po4a-0.59.1.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest |
18 |
index 3626d966ae8..4e999258752 100644 |
19 |
--- a/app-text/po4a/Manifest |
20 |
+++ b/app-text/po4a/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST po4a-0.57.tar.gz 3079550 BLAKE2B 54b1d3263aa0ebd90eec61d735c3422efb5f67b2d88f91a87a6893bcdb7f06131aedadeb3577d221cf75ba07f8001f6e23409375756afec8357e26e8f0f0a1c2 SHA512 7ac2e614c126b049feeb8edbafb71a875cee78fb85d8cd74f3bf5b555cc8b2d19d5e4606b732e714e937c34e178729d73edfe559de594c5ffe811b5162b27d81 |
23 |
DIST po4a-0.59.tar.gz 3607872 BLAKE2B 4c8671507ec544690f9030df4f24dbaef2f7ac6adf85b3478762600bbbb97ab510817b21a9af8ee59cd8ec9bde726f66982442df62575325512f43bda43582d5 SHA512 d0453af140cb94ad28b1641c6437a4ec276eec2d71c63477a81ba866ad4e905ac9badb6ce167f8c00a2433c4f03de3a8ac8e1e7a9b6b0a932f1bfdde9157d4fa |
24 |
+DIST po4a-v0.59.1.tar.gz 3624434 BLAKE2B 9837a7317eecd3db540bc7c23b3d26a9110f00d9c441b1bf1d61af80bae1fe0952f875425f14d66a939456f3a90e9ea74c189d94da7471c7c9a4d0b15f3875ce SHA512 904cb5817586fef19de55e76f3a33c264f9864b5c720b727a75e78a3b690e1ecd7b10603304a762d07b340320143b83b686c9918b9fe95499ceb55482950a4d4 |
25 |
DIST po4a_0.47.orig.tar.gz 2389750 BLAKE2B 72cd81e10f638a660e201b0c733b08c316aa75dd29b054bbc4c645c265b9e7745ce762305a8296f8cc37d2f182755dfa1394861f6c471cff1c7c398d13ac28cc SHA512 9c459a9795977a39aacc09cfb6ddbdc7dd2174e22896fa7bde90510a43ea833054aef558f7ca798991addc052a2c7f91ee11e5d49658a5c80a9ecb9c135ff97a |
26 |
|
27 |
diff --git a/app-text/po4a/po4a-0.59.1.ebuild b/app-text/po4a/po4a-0.59.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..6d9d46d247b |
30 |
--- /dev/null |
31 |
+++ b/app-text/po4a/po4a-0.59.1.ebuild |
32 |
@@ -0,0 +1,54 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+PLOCALES="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" |
38 |
+ |
39 |
+inherit l10n perl-module |
40 |
+ |
41 |
+MY_P="${P/-/-v}" |
42 |
+ |
43 |
+DESCRIPTION="Tools to ease the translation of documentation" |
44 |
+HOMEPAGE="https://po4a.org/" |
45 |
+SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${MY_P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" |
50 |
+IUSE="test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND="app-text/opensp |
54 |
+ dev-libs/libxslt |
55 |
+ dev-perl/Locale-gettext |
56 |
+ dev-perl/SGMLSpm |
57 |
+ dev-perl/TermReadKey |
58 |
+ dev-perl/Text-WrapI18N |
59 |
+ dev-perl/Unicode-LineBreak |
60 |
+ dev-perl/YAML-Tiny |
61 |
+ sys-devel/gettext" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ app-text/docbook-xml-dtd:4.1.2 |
64 |
+ app-text/docbook-xsl-stylesheets |
65 |
+ dev-perl/Module-Build |
66 |
+ test? ( |
67 |
+ app-text/docbook-sgml-dtd:4.1 |
68 |
+ dev-perl/Test-Pod |
69 |
+ virtual/latex-base |
70 |
+ )" |
71 |
+S="${WORKDIR}/${MY_P}" |
72 |
+ |
73 |
+PATCHES=( "${FILESDIR}"/${PN}-man.patch ) |
74 |
+ |
75 |
+DIST_TEST="do" |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ l10n_find_plocales_changes "${S}/po/bin" '' '.po' |
79 |
+ |
80 |
+ rm_locale() { |
81 |
+ PERL_RM_FILES+=( po/{bin,pod}/${1}.po ) |
82 |
+ } |
83 |
+ l10n_for_each_disabled_locale_do rm_locale |
84 |
+ |
85 |
+ perl-module_src_prepare |
86 |
+} |