Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/
Date: Thu, 26 Jan 2017 08:26:39
Message-Id: 1485419150.e64a786b623af3a08ee3f1a5bf8e654e4fdfa882.gokturk@gentoo
1 commit: e64a786b623af3a08ee3f1a5bf8e654e4fdfa882
2 Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
3 AuthorDate: Thu Jan 19 00:24:51 2017 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 08:25:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64a786b
7
8 app-text/po4a: version bump to 0.47
9
10 Gentoo-Bug: 550210
11
12 app-text/po4a/Manifest | 1 +
13 app-text/po4a/po4a-0.47.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
17 index 2a58986..32a81eb 100644
18 --- a/app-text/po4a/Manifest
19 +++ b/app-text/po4a/Manifest
20 @@ -1 +1,2 @@
21 DIST po4a_0.45.orig.tar.gz 2208959 SHA256 f5f47db85b48893d87d921152c96082233975bd0e0a9ee14f58c07d7dff81678 SHA512 e67334b7a45d3c23b7226077e01e12b3c4f1202531596f02851b6a9e7249b2b8a0c37f37ebbaf591753f041a4c6ce42c062b4822e91ac75884dcd0994c27323f WHIRLPOOL 404bb45412fff4cec13304490e5f74ee4a4573d3c755491816cfe501c3e83dbdb58ae3c799516fe21c692c9de6fbc2dd5a261c8039eca2e2777365b27ac358cd
22 +DIST po4a_0.47.orig.tar.gz 2389750 SHA256 5010e1b7df1115cbd475f46587fc05fefc97301f9bba0c2f15106005ca017507 SHA512 9c459a9795977a39aacc09cfb6ddbdc7dd2174e22896fa7bde90510a43ea833054aef558f7ca798991addc052a2c7f91ee11e5d49658a5c80a9ecb9c135ff97a WHIRLPOOL f6b52ffd39ebfc3ec71d5719fc7e01260acb4d4525d63209c69cc73aa5d18dec6f06e476d911591c8b6a89ab4d73747221320ae578835f2a2c1fb84c665480ab
23
24 diff --git a/app-text/po4a/po4a-0.47.ebuild b/app-text/po4a/po4a-0.47.ebuild
25 new file mode 100644
26 index 00000000..a1bafa0
27 --- /dev/null
28 +++ b/app-text/po4a/po4a-0.47.ebuild
29 @@ -0,0 +1,57 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +
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 +PLOCALES_BACKUP="en"
38 +
39 +# Needed because this package also installs to vendor_perl
40 +GENTOO_DEPEND_ON_PERL=noslotop
41 +inherit perl-module l10n
42 +
43 +DESCRIPTION="Tools for helping translation of documentation"
44 +HOMEPAGE="http://po4a.alioth.debian.org"
45 +SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
50 +IUSE="test"
51 +
52 +RDEPEND="dev-perl/SGMLSpm
53 + >=sys-devel/gettext-0.13
54 + app-text/openjade
55 + dev-libs/libxslt
56 + dev-perl/Locale-gettext
57 + dev-perl/TermReadKey
58 + dev-perl/Text-WrapI18N"
59 +DEPEND="${RDEPEND}
60 + >=dev-perl/Module-Build-0.380.0
61 + app-text/docbook-xsl-stylesheets
62 + app-text/docbook-xml-dtd:4.1.2
63 + test? ( app-text/docbook-sgml-dtd
64 + app-text/docbook-sgml-utils
65 + virtual/tex-base )"
66 +
67 +# Running tests in parallel fails
68 +DIST_TEST="do"
69 +
70 +src_prepare() {
71 + # Check against locale files in ${S}/pod/bin for mismatches
72 + # with languages listed in PLOCALES
73 + local locales_path="$S/po/bin"
74 + l10n_find_plocales_changes "$locales_path" "" ".po"
75 +
76 + # Get rid of disabled locales
77 + my_get_disabled_locales() {
78 + PERL_RM_FILES=( "${PERL_RM_FILES[@]}" "po/bin/${1}.po" "po/pod/${1}.po" )
79 + }
80 +
81 + l10n_for_each_disabled_locale_do my_get_disabled_locales
82 +
83 + einfo "Your LINGUAS lists the following languages: $LINGUAS"
84 +
85 + perl-module_src_prepare
86 +}