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-text/po4a/
Date: Thu, 09 Jan 2020 13:56:15
Message-Id: 1578577941.0cc521db4fc498d21d7beea40f04125c81a54421.hattya@gentoo
1 commit: 0cc521db4fc498d21d7beea40f04125c81a54421
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 9 13:52:21 2020 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 9 13:52:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc521db
7
8 app-text/po4a: new upstream release
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 app-text/po4a/Manifest | 1 +
14 app-text/po4a/po4a-0.57.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
18 index be1a8282d6c..299ccbce71d 100644
19 --- a/app-text/po4a/Manifest
20 +++ b/app-text/po4a/Manifest
21 @@ -1,3 +1,4 @@
22 DIST po4a-0.55.tar.gz 2892158 BLAKE2B 606236a4bc143d4a5cc003f7dfaf59f605017478fc7ab3fc66af5eed078a8bb0744690b7191cd2ee0b795229e766145ed47545484e3d20e6a14ae1ac0981772a SHA512 95f7408caf2c603f2ea86d8439e99c39be72dca019361106190bd6e1f95679c6627280bcd02a2d9c843071a6ce96747bf5b4d85c9051344b08f32deade2cb599
23 DIST po4a-0.56.tar.gz 2994792 BLAKE2B c95905c70d7e1e24367fb128d9096996d026f58dd4cd7fa77f19c6c9b8607cb4101a1a024773d2fd383e905a008e1ce4f0c019a73003168a90cb23328ac1d984 SHA512 4fc1ca5743471577d9e8bd0b80285b9dbd83b964f8e828472787a6deaf8b8388bb7f96e68afab4119c1f5488fe371d3b1fa94b101204a59228d1cc2f0878f3c1
24 +DIST po4a-0.57.tar.gz 3079550 BLAKE2B 54b1d3263aa0ebd90eec61d735c3422efb5f67b2d88f91a87a6893bcdb7f06131aedadeb3577d221cf75ba07f8001f6e23409375756afec8357e26e8f0f0a1c2 SHA512 7ac2e614c126b049feeb8edbafb71a875cee78fb85d8cd74f3bf5b555cc8b2d19d5e4606b732e714e937c34e178729d73edfe559de594c5ffe811b5162b27d81
25 DIST po4a_0.47.orig.tar.gz 2389750 BLAKE2B 72cd81e10f638a660e201b0c733b08c316aa75dd29b054bbc4c645c265b9e7745ce762305a8296f8cc37d2f182755dfa1394861f6c471cff1c7c398d13ac28cc SHA512 9c459a9795977a39aacc09cfb6ddbdc7dd2174e22896fa7bde90510a43ea833054aef558f7ca798991addc052a2c7f91ee11e5d49658a5c80a9ecb9c135ff97a
26
27 diff --git a/app-text/po4a/po4a-0.57.ebuild b/app-text/po4a/po4a-0.57.ebuild
28 new file mode 100644
29 index 00000000000..8c24e87cabc
30 --- /dev/null
31 +++ b/app-text/po4a/po4a-0.57.ebuild
32 @@ -0,0 +1,53 @@
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 sv uk vi zh_CN zh_HK"
38 +
39 +inherit perl-module l10n
40 +
41 +DESCRIPTION="Tools to ease the translation of documentation"
42 +HOMEPAGE="https://po4a.org/"
43 +SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="app-text/opensp
52 + dev-libs/libxslt
53 + dev-perl/Locale-gettext
54 + dev-perl/SGMLSpm
55 + dev-perl/TermReadKey
56 + dev-perl/Text-WrapI18N
57 + dev-perl/Unicode-LineBreak
58 + dev-perl/YAML-Tiny
59 + sys-devel/gettext"
60 +DEPEND="${RDEPEND}
61 + app-text/docbook-xml-dtd:4.1.2
62 + app-text/docbook-xsl-stylesheets
63 + dev-perl/Module-Build
64 + test? (
65 + app-text/docbook-sgml-dtd:4.1
66 + virtual/latex-base
67 + )"
68 +
69 +PATCHES=( "${FILESDIR}"/${PN}-man.patch )
70 +
71 +PERL_RM_FILES=(
72 + t/09-html.t
73 +)
74 +DIST_TEST="do"
75 +
76 +src_prepare() {
77 + l10n_find_plocales_changes "${S}/po/bin" '' '.po'
78 +
79 + rm_locale() {
80 + PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
81 + }
82 + l10n_for_each_disabled_locale_do rm_locale
83 +
84 + perl-module_src_prepare
85 +}