From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/
Date: Fri, 6 May 2016 13:16:13 +0000 (UTC) [thread overview]
Message-ID: <1462540563.526e1b77a7a433cf9f3694f9b6189f87e87b5464.idella4@gentoo> (raw)
commit: 526e1b77a7a433cf9f3694f9b6189f87e87b5464
Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com>
AuthorDate: Thu May 5 12:04:38 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Fri May 6 13:16:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526e1b77
app-text/po4a: revbump to vn. 0.45-r3
Fix LINGUAS support, fix array "perl_rm_files" to take relative paths
remove translated man pages
Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/1408
Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>
app-text/po4a/po4a-0.45-r3.ebuild | 62 +++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/app-text/po4a/po4a-0.45-r3.ebuild b/app-text/po4a/po4a-0.45-r3.ebuild
new file mode 100644
index 0000000..fb6c05f
--- /dev/null
+++ b/app-text/po4a/po4a-0.45-r3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+PLOCALES_BACKUP="en"
+
+# Needed because this package also installs to vendor_perl
+GENTOO_DEPEND_ON_PERL_SUBSLOT="yes"
+inherit perl-app perl-module l10n
+
+DESCRIPTION="Tools for helping translation of documentation"
+HOMEPAGE="http://po4a.alioth.debian.org"
+SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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"
+IUSE="test"
+
+RDEPEND="dev-perl/SGMLSpm
+ >=sys-devel/gettext-0.13
+ app-text/openjade
+ dev-libs/libxslt
+ dev-perl/Locale-gettext
+ dev-perl/TermReadKey
+ dev-perl/Text-WrapI18N"
+DEPEND="${RDEPEND}
+ >=dev-perl/Module-Build-0.380.0
+ app-text/docbook-xsl-stylesheets
+ app-text/docbook-xml-dtd:4.1.2
+ test? ( app-text/docbook-sgml-dtd
+ app-text/docbook-sgml-utils
+ virtual/tex-base )"
+
+SRC_TEST="do"
+
+src_prepare() {
+ # Check against locale files in ${S}/pod/bin for mismatches
+ # with languages listed in PLOCALES
+ local locales_path="$S/po/bin"
+ l10n_find_plocales_changes "$locales_path" "" ".po"
+
+ # Array containing locale files to remove
+ local locales_to_remove=( )
+
+ # Get rid of disabled locales
+ my_get_disabled_locales() {
+ locales_to_remove=( "${locales_to_remove[@]}" "po/bin/${1}.po" "po/pod/${1}.po" )
+ }
+
+ l10n_for_each_disabled_locale_do my_get_disabled_locales
+
+ einfo "Your LINGUAS lists the following languages: $LINGUAS"
+ einfo "Removing locale files not listed in it ..."
+
+ # perl_rm_files also updates the Manifest file
+ # and therefore silences Perl as to .po files we're about to clean
+ perl_rm_files "${locales_to_remove[@]}"
+}
next reply other threads:[~2016-05-06 13:16 UTC|newest]
Thread overview: 142+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 13:16 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-24 20:17 [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/ Markus Meier
2016-06-01 9:39 Tobias Klausmann
2016-06-11 16:44 Agostino Sarubbo
2016-08-17 3:53 Jeroen Roovers
2016-08-17 8:58 Pacho Ramos
2016-08-17 8:58 Pacho Ramos
2016-11-10 6:20 Mike Frysinger
2017-01-26 8:26 Göktürk Yüksek
2017-01-26 8:26 Göktürk Yüksek
2017-01-29 15:24 Fabian Groffen
2017-03-28 22:02 Michael Weber
2017-03-29 0:02 Michael Weber
2017-03-29 16:12 Amy Liffey
2017-03-31 12:09 Agostino Sarubbo
2017-04-01 16:06 Agostino Sarubbo
2017-04-05 7:29 Tobias Klausmann
2017-04-21 17:05 Andreas Hüttel
2017-04-21 17:05 Andreas Hüttel
2017-04-27 11:23 Agostino Sarubbo
2017-04-30 10:03 Jeroen Roovers
2017-09-02 18:28 Alexis Ballier
2018-01-12 4:10 Mike Frysinger
2018-04-12 21:08 Jonas Stein
2018-04-12 21:24 Jonas Stein
2018-05-17 7:41 Mikle Kolyada
2018-07-22 12:57 Akinori Hattori
2018-07-22 12:57 Akinori Hattori
2019-01-16 2:25 Mike Gilbert
2019-01-31 13:28 Akinori Hattori
2019-05-04 14:43 Andreas K. Hüttel
2019-07-18 13:19 Kent Fredric
2019-09-27 13:55 Akinori Hattori
2019-09-27 13:57 Akinori Hattori
2020-01-09 13:56 Akinori Hattori
2020-01-09 13:56 Akinori Hattori
2020-05-18 14:00 Akinori Hattori
2020-05-18 14:00 Akinori Hattori
2020-05-18 14:00 Akinori Hattori
2020-05-20 14:06 Akinori Hattori
2020-05-20 14:06 Akinori Hattori
2020-05-22 16:56 Sergei Trofimovich
2020-05-25 12:24 Mikle Kolyada
2020-05-25 21:33 Sergei Trofimovich
2020-05-27 12:52 Akinori Hattori
2020-05-27 12:52 Akinori Hattori
2020-06-03 15:15 Agostino Sarubbo
2020-06-03 15:32 Agostino Sarubbo
2020-06-03 18:42 Agostino Sarubbo
2020-06-03 18:43 Agostino Sarubbo
2020-06-06 19:31 Mart Raudsepp
2020-07-23 12:47 Kent Fredric
2020-08-10 13:50 Akinori Hattori
2020-08-10 13:50 Akinori Hattori
2020-08-10 13:55 Akinori Hattori
2020-12-08 13:25 Akinori Hattori
2020-12-08 13:34 Akinori Hattori
2020-12-08 13:34 Akinori Hattori
2020-12-08 18:25 Sam James
2021-01-04 18:05 Andreas K. Hüttel
2021-02-08 18:59 Fabian Groffen
2021-03-03 13:54 Akinori Hattori
2021-03-06 13:39 Akinori Hattori
2021-03-06 13:39 Akinori Hattori
2021-05-25 11:55 Sam James
2021-07-17 19:11 Andreas K. Hüttel
2021-09-18 13:38 Akinori Hattori
2021-09-18 13:38 Akinori Hattori
2021-09-18 19:51 Sam James
2021-09-19 22:12 Sam James
2021-09-20 0:27 Sam James
2021-09-21 16:35 Sam James
2021-09-21 17:44 Sam James
2021-09-27 20:21 Sam James
2021-10-02 7:22 Sam James
2021-10-08 5:02 Sam James
2021-11-22 15:02 Akinori Hattori
2021-11-22 15:02 Akinori Hattori
2021-11-22 17:58 Arthur Zamarin
2021-11-22 19:20 Sam James
2021-11-22 19:20 Sam James
2021-11-22 19:20 Sam James
2021-11-26 20:35 Andreas K. Hüttel
2021-11-30 11:41 Arthur Zamarin
2021-12-02 8:27 Arthur Zamarin
2022-01-25 2:33 Sam James
2022-02-03 14:11 Akinori Hattori
2022-04-29 7:59 WANG Xuerui
2022-08-02 13:27 Akinori Hattori
2022-08-02 16:47 Arthur Zamarin
2022-08-02 16:47 Arthur Zamarin
2022-08-02 16:54 Arthur Zamarin
2022-08-02 17:31 Arthur Zamarin
2022-08-02 17:31 Arthur Zamarin
2022-08-02 17:41 Arthur Zamarin
2022-08-02 17:55 Arthur Zamarin
2022-08-02 18:02 Arthur Zamarin
2022-08-02 18:12 Arthur Zamarin
2022-08-03 4:38 Arthur Zamarin
2022-08-03 6:32 Yixun Lan
2022-08-03 7:50 Agostino Sarubbo
2022-08-04 8:03 Agostino Sarubbo
2022-08-05 7:16 Agostino Sarubbo
2022-08-05 11:56 Arthur Zamarin
2022-08-05 15:28 Arthur Zamarin
2022-08-06 12:05 James Le Cuirot
2022-08-07 4:55 WANG Xuerui
2022-08-13 9:38 Arthur Zamarin
2022-09-09 14:31 Akinori Hattori
2022-09-10 8:39 Fabian Groffen
2022-09-22 7:46 Michał Górny
2022-09-26 7:31 Michał Górny
2023-02-05 1:55 Akinori Hattori
2023-02-05 1:55 Akinori Hattori
2024-02-12 8:55 Sam James
2024-02-28 2:32 Ionen Wolkens
2024-02-28 2:32 Ionen Wolkens
2024-02-28 2:32 Ionen Wolkens
2024-02-28 2:33 Ionen Wolkens
2024-03-03 6:43 Akinori Hattori
2024-03-15 4:14 Ionen Wolkens
2024-03-15 4:14 Ionen Wolkens
2024-05-29 13:07 Akinori Hattori
2024-05-29 13:07 Akinori Hattori
2024-06-23 9:10 Akinori Hattori
2024-06-23 11:04 Akinori Hattori
2024-09-07 9:15 Sam James
2024-09-07 9:15 Sam James
2025-01-13 12:56 Sam James
2025-01-13 12:56 Sam James
2025-01-13 12:56 Sam James
2025-01-13 12:56 Sam James
2025-01-13 12:56 Sam James
2025-01-13 12:56 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
2025-01-13 13:22 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462540563.526e1b77a7a433cf9f3694f9b6189f87e87b5464.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox