Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/
Date: Wed, 16 Jan 2019 02:26:06
Message-Id: 1547605505.97c3140b089cf7dc94f20e8f3c13b5767b420b8b.floppym@gentoo
1 commit: 97c3140b089cf7dc94f20e8f3c13b5767b420b8b
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 02:25:05 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 16 02:25:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c3140b
7
8 app-text/po4a: bump to 0.55
9
10 Package-Manager: Portage-2.3.54_p2, Repoman-2.3.12_p42
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 app-text/po4a/Manifest | 1 +
14 app-text/po4a/po4a-0.55.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
18 index c8124fa0ee7..cdaaf5c8568 100644
19 --- a/app-text/po4a/Manifest
20 +++ b/app-text/po4a/Manifest
21 @@ -1,2 +1,3 @@
22 DIST po4a-0.54.tar.gz 2686485 BLAKE2B f33f1e27bd24e4429ef8edbdd999333714e9a50e4af2c60ccffec91098bf330776c4ee9de9b6d4cdb459b67a26a1a6e4b8a0ead7efa82fe97584405a15245ef4 SHA512 5d97a169c73bcb872247599af477ecca9112b9ff576dfb93a2aa06b9891464a1837d799304f1a3ea8344ad46a4529ec19568584b7914761deccc09a9099e3130
23 +DIST po4a-0.55.tar.gz 2892158 BLAKE2B 606236a4bc143d4a5cc003f7dfaf59f605017478fc7ab3fc66af5eed078a8bb0744690b7191cd2ee0b795229e766145ed47545484e3d20e6a14ae1ac0981772a SHA512 95f7408caf2c603f2ea86d8439e99c39be72dca019361106190bd6e1f95679c6627280bcd02a2d9c843071a6ce96747bf5b4d85c9051344b08f32deade2cb599
24 DIST po4a_0.47.orig.tar.gz 2389750 BLAKE2B 72cd81e10f638a660e201b0c733b08c316aa75dd29b054bbc4c645c265b9e7745ce762305a8296f8cc37d2f182755dfa1394861f6c471cff1c7c398d13ac28cc SHA512 9c459a9795977a39aacc09cfb6ddbdc7dd2174e22896fa7bde90510a43ea833054aef558f7ca798991addc052a2c7f91ee11e5d49658a5c80a9ecb9c135ff97a
25
26 diff --git a/app-text/po4a/po4a-0.55.ebuild b/app-text/po4a/po4a-0.55.ebuild
27 new file mode 100644
28 index 00000000000..1ff6a7d4df6
29 --- /dev/null
30 +++ b/app-text/po4a/po4a-0.55.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK"
37 +
38 +inherit perl-module l10n
39 +
40 +DESCRIPTION="Tools to ease the translation of documentation"
41 +HOMEPAGE="https://po4a.org/"
42 +SRC_URI="https://github.com/mquinson/po4a/releases/download/v${PV}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
47 +IUSE="test"
48 +
49 +RDEPEND="app-text/opensp
50 + dev-libs/libxslt
51 + dev-perl/Locale-gettext
52 + dev-perl/SGMLSpm
53 + dev-perl/TermReadKey
54 + dev-perl/Text-WrapI18N
55 + dev-perl/Unicode-LineBreak
56 + dev-perl/YAML-Tiny
57 + sys-devel/gettext"
58 +DEPEND="${RDEPEND}
59 + app-text/docbook-xml-dtd:4.1.2
60 + app-text/docbook-xsl-stylesheets
61 + dev-perl/Module-Build
62 + test? (
63 + app-text/docbook-sgml-dtd:4.1
64 + virtual/tex-base
65 + )"
66 +
67 +PERL_RM_FILES=(
68 + t/09-html.t
69 +)
70 +DIST_TEST="do"
71 +
72 +src_prepare() {
73 + l10n_find_plocales_changes "${S}/po/bin" '' '.po'
74 +
75 + rm_locale() {
76 + PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
77 + }
78 + l10n_for_each_disabled_locale_do rm_locale
79 +
80 + perl-module_src_prepare
81 +}
82 +
83 +src_install() {
84 + perl-module_src_install
85 + find "${ED%/}/usr/share/man" -name '*.gz' -exec gzip -d '{}' +
86 +}