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, 03 Feb 2022 14:11:35
Message-Id: 1643897471.f5e2c19c001f6ef3f2ff0dab878bf966351c54c2.hattya@gentoo
1 commit: f5e2c19c001f6ef3f2ff0dab878bf966351c54c2
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 3 14:11:11 2022 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 3 14:11:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e2c19c
7
8 app-text/po4a: new upstream release
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 app-text/po4a/Manifest | 1 +
14 app-text/po4a/po4a-0.66.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
18 index 6667f7facc24..1df54b9b9840 100644
19 --- a/app-text/po4a/Manifest
20 +++ b/app-text/po4a/Manifest
21 @@ -1,3 +1,4 @@
22 DIST po4a-0.63.tar.gz 4067940 BLAKE2B 4cfa4163c21f5f8b783a5bdc29595f10cd172f7813de5617ed67a25bef547697084511a6f3897c47acb9158f15b3fcd97600bec7e23ba560cffe7cc646ce4c39 SHA512 556859b73728249795df22676a3cde1cbf575c608ad20f267fe7a6ee224d0262db2db19df8b7369ebf1ab568c017548ff118ae035608cca7a4d0963db8acd633
23 DIST po4a-0.64.tar.gz 4121565 BLAKE2B a579aabb4245501be4ec7c319e8cef91db2e10883a09ef5a7eaf2d97aad64e8e59f25101c20286c955067fef2f58bc08c9865d5d608dd72913a38eaaff0ac542 SHA512 3d51aaa5894365087523b82e218819ba8a92d3cbc1b389648526f26fbbf37ccaa7ed6643bb388e5fa73a7a1abadee2b4ee2ebbcac14790c56567bf1a3e766fb0
24 DIST po4a-0.65.tar.gz 4152612 BLAKE2B 81d330f234cae10f228b5de7e8417f79d7008f827faf676a68c83b05044a2198c1c03f8d19d8bbbfdb71a83cb93abc319e7e6ac5ce57704294d0f3b858bb9b56 SHA512 eea2ddc1344d371ee685e73dc3c3b1b58d24f8bae7edbe7f2112bfead1c481c6796d02c5f7d9fc9bbac57bd93c4194ade51368bb8b29ba62aee333a7afa2e7e6
25 +DIST po4a-0.66.tar.gz 4240059 BLAKE2B 1d88665b8aa0d7f81854c97265f483934adc51503c2d33252d6ae08a00fddfa8aaa6e9c652f764ae46bf14fea3bcd1093f923fcbf08d96e97296954199e9b900 SHA512 f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4
26
27 diff --git a/app-text/po4a/po4a-0.66.ebuild b/app-text/po4a/po4a-0.66.ebuild
28 new file mode 100644
29 index 000000000000..db6bc3212044
30 --- /dev/null
31 +++ b/app-text/po4a/po4a-0.66.ebuild
32 @@ -0,0 +1,53 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="8"
37 +PLOCALES="ace 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 zh_Hant"
38 +
39 +inherit perl-module plocale
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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~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/Pod-Parser
55 + dev-perl/SGMLSpm
56 + dev-perl/TermReadKey
57 + dev-perl/Text-WrapI18N
58 + dev-perl/Unicode-LineBreak
59 + dev-perl/YAML-Tiny
60 + sys-devel/gettext"
61 +DEPEND="${RDEPEND}"
62 +BDEPEND="app-text/docbook-xml-dtd:4.1.2
63 + app-text/docbook-xsl-stylesheets
64 + dev-perl/Module-Build
65 + sys-devel/gettext
66 + test? (
67 + app-text/docbook-sgml-dtd:4.1
68 + dev-perl/Test-Pod
69 + virtual/latex-base
70 + )"
71 +
72 +PATCHES=( "${FILESDIR}"/${PN}-man.patch )
73 +
74 +DIST_TEST="do"
75 +
76 +src_prepare() {
77 + plocale_find_changes "${S}/po/bin" '' '.po'
78 +
79 + rm_locale() {
80 + PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
81 + }
82 + plocale_for_each_disabled_locale rm_locale
83 +
84 + perl-module_src_prepare
85 +}