[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2024-02-10 Thread Akinori Hattori
commit: 94ed39336ee31fd1033b932fe0f68e196a614b33
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Feb 11 06:54:35 2024 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Feb 11 06:55:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ed3933

app-text/po4a: new upstream release

Signed-off-by: Akinori Hattori  gentoo.org>

 app-text/po4a/Manifest |  1 +
 app-text/po4a/files/po4a-man.patch | 18 +
 app-text/po4a/po4a-0.70.ebuild | 54 ++
 3 files changed, 73 insertions(+)

diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
index 0ddb49ce040b..aae62e6ad8bd 100644
--- a/app-text/po4a/Manifest
+++ b/app-text/po4a/Manifest
@@ -1,2 +1,3 @@
 DIST po4a-0.66.tar.gz 4240059 BLAKE2B 
1d88665b8aa0d7f81854c97265f483934adc51503c2d33252d6ae08a00fddfa8aaa6e9c652f764ae46bf14fea3bcd1093f923fcbf08d96e97296954199e9b900
 SHA512 
f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4
 DIST po4a-0.69.tar.gz 4665710 BLAKE2B 
2fc1b6cd53f1b282f20cd4932de7f5d6d9882de9f50181f0de89995c9d9b79b5fd2bc53d3757c56c519478e67ac636deb5a011cc8810a002b6bb6dabdb2b
 SHA512 
9cb5eec547ab18d1c3ebdda212b909fc4f5489a74641ba2d7e0a3a1d060f245d23667c16e687c678c5ccc3809c9315d20673266dcc3764172a899caa397238e3
+DIST po4a-0.70.tar.gz 4832825 BLAKE2B 
2cf103cf95860855c8cd3e6090a75fce0791a58badc3a5bae0563c4d9b063af984fda1de5566d61caa23766ebddb66f8fb0a4701bfbc6fe2aafdf2bab292ef26
 SHA512 
2f12d9b9214b08bb7dd2d864016063845f397d7b71c1aa2292c1da1b71f1ec435cfae527032f4d6610d15d1a6ea40e35165dcba007b75cab635dd722cbc05139

diff --git a/app-text/po4a/files/po4a-man.patch 
b/app-text/po4a/files/po4a-man.patch
new file mode 100644
index ..b166887283cb
--- /dev/null
+++ b/app-text/po4a/files/po4a-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
 b/Po4aBuilder.pm
+@@ -242,7 +242,6 @@
+ }
+ $parser->parse_from_file( $file, $out );
+ 
+-system("gzip -9 -n -f $out") and die;
+ unlink "$file" || die;
+ }
+ 
+@@ -264,7 +263,6 @@
+ print "Convert $outdir/$outfile.$section (online 
docbook.xsl file). ";
+ system("xsltproc -o $outdir/$outfile.$section --nonet 
$docbook_xsl_url $file") and die;
+ }
+-system("gzip -9 -n -f $outdir/$outfile.$section") and die;
+ }
+ unlink "$file" || die;
+ }

diff --git a/app-text/po4a/po4a-0.70.ebuild b/app-text/po4a/po4a-0.70.ebuild
new file mode 100644
index ..5b80c728dbb4
--- /dev/null
+++ b/app-text/po4a/po4a-0.70.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja ka kn ko nb nl 
pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_Hans zh_Hant"
+
+inherit perl-module plocale
+
+DESCRIPTION="Tools to ease the translation of documentation"
+HOMEPAGE="https://po4a.org/";
+SRC_URI="https://github.com/mquinson/${PN}/files/14077820/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-text/opensp
+   dev-libs/libxslt
+   dev-perl/Locale-gettext
+   dev-perl/Pod-Parser
+   dev-perl/SGMLSpm
+   dev-perl/Syntax-Keyword-Try
+   dev-perl/TermReadKey
+   dev-perl/Text-WrapI18N
+   dev-perl/Unicode-LineBreak
+   dev-perl/YAML-Tiny
+   sys-devel/gettext"
+DEPEND="${RDEPEND}"
+BDEPEND="app-text/docbook-xml-dtd:4.1.2
+   app-text/docbook-xsl-stylesheets
+   dev-perl/Module-Build
+   sys-devel/gettext
+   test? (
+   app-text/docbook-sgml-dtd:4.1
+   dev-perl/Test-Pod
+   virtual/latex-base
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
+DIST_TEST="do"
+
+src_prepare() {
+   plocale_find_changes "${S}/po/bin" '' '.po'
+
+   rm_locale() {
+   PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
+   }
+   plocale_for_each_disabled_locale rm_locale
+
+   perl-module_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2024-02-10 Thread Akinori Hattori
commit: fa599032693ae4f145e109772f4d2f9193fc0d61
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Feb 11 06:45:24 2024 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Feb 11 06:55:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa599032

app-text/po4a: rename patch

Signed-off-by: Akinori Hattori  gentoo.org>

 app-text/po4a/files/{po4a-man.patch => po4a-0.69-man.patch} | 0
 app-text/po4a/po4a-0.69.ebuild  | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/po4a/files/po4a-man.patch 
b/app-text/po4a/files/po4a-0.69-man.patch
similarity index 100%
rename from app-text/po4a/files/po4a-man.patch
rename to app-text/po4a/files/po4a-0.69-man.patch

diff --git a/app-text/po4a/po4a-0.69.ebuild b/app-text/po4a/po4a-0.69.ebuild
index 626b80de85be..861b6d39cf95 100644
--- a/app-text/po4a/po4a-0.69.ebuild
+++ b/app-text/po4a/po4a-0.69.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -38,7 +38,7 @@ BDEPEND="app-text/docbook-xml-dtd:4.1.2
virtual/latex-base
)"
 
-PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+PATCHES=( "${FILESDIR}"/${P}-man.patch )
 
 DIST_TEST="do"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2022-08-02 Thread Akinori Hattori
commit: ecfe5171a4fef78ca7f8671368a63ffb05b6dd05
Author: Akinori Hattori  gentoo  org>
AuthorDate: Tue Aug  2 12:50:24 2022 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Tue Aug  2 12:51:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecfe5171

app-text/po4a: new upstream release

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 app-text/po4a/Manifest  |  1 +
 app-text/po4a/files/po4a-0.67-man.patch | 18 +++
 app-text/po4a/po4a-0.67.ebuild  | 54 +
 3 files changed, 73 insertions(+)

diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
index 1df54b9b9840..ff88ee38b1a7 100644
--- a/app-text/po4a/Manifest
+++ b/app-text/po4a/Manifest
@@ -2,3 +2,4 @@ DIST po4a-0.63.tar.gz 4067940 BLAKE2B 
4cfa4163c21f5f8b783a5bdc29595f10cd172f7813
 DIST po4a-0.64.tar.gz 4121565 BLAKE2B 
a579aabb4245501be4ec7c319e8cef91db2e10883a09ef5a7eaf2d97aad64e8e59f25101c20286c955067fef2f58bc08c9865d5d608dd72913a38eaaff0ac542
 SHA512 
3d51aaa5894365087523b82e218819ba8a92d3cbc1b389648526f26fbbf37ccaa7ed6643bb388e5fa73a7a1abadee2b4ee2ebbcac14790c56567bf1a3e766fb0
 DIST po4a-0.65.tar.gz 4152612 BLAKE2B 
81d330f234cae10f228b5de7e8417f79d7008f827faf676a68c83b05044a2198c1c03f8d19d8bbbfdb71a83cb93abc319e7e6ac5ce57704294d0f3b858bb9b56
 SHA512 
eea2ddc1344d371ee685e73dc3c3b1b58d24f8bae7edbe7f2112bfead1c481c6796d02c5f7d9fc9bbac57bd93c4194ade51368bb8b29ba62aee333a7afa2e7e6
 DIST po4a-0.66.tar.gz 4240059 BLAKE2B 
1d88665b8aa0d7f81854c97265f483934adc51503c2d33252d6ae08a00fddfa8aaa6e9c652f764ae46bf14fea3bcd1093f923fcbf08d96e97296954199e9b900
 SHA512 
f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4
+DIST po4a-0.67.tar.gz 4466869 BLAKE2B 
c4dab0e40e7f5eb24ec85abf8a02131144b181d9b783a5dccc30221d1cc3a493f16d7c2faf8284c6d2f2259661a6f2c280624e5fd16e2d4d0bf878f8291ef7b5
 SHA512 
6445db615ac1a2e752daca7dca0c44a88e74c7a26c06ba8e7cb6bdeeaacce78cb74a671579dd95ee8341d817e16717e8cf99022a37c5d152e0c9828bd6aae3d9

diff --git a/app-text/po4a/files/po4a-0.67-man.patch 
b/app-text/po4a/files/po4a-0.67-man.patch
new file mode 100644
index ..6c79ebf77dd2
--- /dev/null
+++ b/app-text/po4a/files/po4a-0.67-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
 b/Po4aBuilder.pm
+@@ -234,7 +234,6 @@
+ }
+ $parser->parse_from_file ($file, $out);
+ 
+-system("gzip -9 -f $out") and die;
+ unlink "$file" || die;
+ }
+ 
+@@ -253,7 +252,6 @@
+ print "Convert $outdir/$outfile.$section (online docbook.xsl 
file). ";
+ system("xsltproc -o $outdir/$outfile.$section --nonet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") 
and die;
+ }
+-system ("gzip -9 -f $outdir/$outfile.$section") and die;
+ }
+ unlink "$file" || die;
+ }

diff --git a/app-text/po4a/po4a-0.67.ebuild b/app-text/po4a/po4a-0.67.ebuild
new file mode 100644
index ..a5942928f213
--- /dev/null
+++ b/app-text/po4a/po4a-0.67.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+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"
+
+inherit perl-module plocale
+
+DESCRIPTION="Tools to ease the translation of documentation"
+HOMEPAGE="https://po4a.org/";
+SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-text/opensp
+   dev-libs/libxslt
+   dev-perl/Locale-gettext
+   dev-perl/Pod-Parser
+   dev-perl/SGMLSpm
+   dev-perl/Syntax-Keyword-Try
+   dev-perl/TermReadKey
+   dev-perl/Text-WrapI18N
+   dev-perl/Unicode-LineBreak
+   dev-perl/YAML-Tiny
+   sys-devel/gettext"
+DEPEND="${RDEPEND}"
+BDEPEND="app-text/docbook-xml-dtd:4.1.2
+   app-text/docbook-xsl-stylesheets
+   dev-perl/Module-Build
+   sys-devel/gettext
+   test? (
+   app-text/docbook-sgml-dtd:4.1
+   dev-perl/Test-Pod
+   virtual/latex-base
+   )"
+
+PATCHES=( "${FILESDIR}"/${P}-man.patch )
+
+DIST_TEST="do"
+
+src_prepare() {
+   plocale_find_changes "${S}/po/bin" '' '.po'
+
+   rm_locale() {
+   PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
+   }
+   plocale_for_each_disabled_locale rm_locale
+
+   perl-module_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2021-10-08 Thread Akinori Hattori
commit: 03a8a7f0622ee5aa56089c368808e25d987ca218
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sat Oct  9 06:58:18 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sat Oct  9 06:58:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a8a7f0

app-text/po4a: drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 app-text/po4a/Manifest |  1 -
 app-text/po4a/files/po4a-man.patch | 18 -
 app-text/po4a/po4a-0.57-r1.ebuild  | 55 --
 3 files changed, 74 deletions(-)

diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
index 19212dbe04b..387bfeb428d 100644
--- a/app-text/po4a/Manifest
+++ b/app-text/po4a/Manifest
@@ -1,3 +1,2 @@
-DIST po4a-0.57.tar.gz 3079550 BLAKE2B 
54b1d3263aa0ebd90eec61d735c3422efb5f67b2d88f91a87a6893bcdb7f06131aedadeb3577d221cf75ba07f8001f6e23409375756afec8357e26e8f0f0a1c2
 SHA512 
7ac2e614c126b049feeb8edbafb71a875cee78fb85d8cd74f3bf5b555cc8b2d19d5e4606b732e714e937c34e178729d73edfe559de594c5ffe811b5162b27d81
 DIST po4a-0.63.tar.gz 4067940 BLAKE2B 
4cfa4163c21f5f8b783a5bdc29595f10cd172f7813de5617ed67a25bef547697084511a6f3897c47acb9158f15b3fcd97600bec7e23ba560cffe7cc646ce4c39
 SHA512 
556859b73728249795df22676a3cde1cbf575c608ad20f267fe7a6ee224d0262db2db19df8b7369ebf1ab568c017548ff118ae035608cca7a4d0963db8acd633
 DIST po4a-0.64.tar.gz 4121565 BLAKE2B 
a579aabb4245501be4ec7c319e8cef91db2e10883a09ef5a7eaf2d97aad64e8e59f25101c20286c955067fef2f58bc08c9865d5d608dd72913a38eaaff0ac542
 SHA512 
3d51aaa5894365087523b82e218819ba8a92d3cbc1b389648526f26fbbf37ccaa7ed6643bb388e5fa73a7a1abadee2b4ee2ebbcac14790c56567bf1a3e766fb0

diff --git a/app-text/po4a/files/po4a-man.patch 
b/app-text/po4a/files/po4a-man.patch
deleted file mode 100644
index 6dd94aed153..000
--- a/app-text/po4a/files/po4a-man.patch
+++ /dev/null
@@ -1,18 +0,0 @@
 a/Po4aBuilder.pm
-+++ b/Po4aBuilder.pm
-@@ -233,7 +233,6 @@
- }
- $parser->parse_from_file ($file, $out);
- 
--system("gzip -9 -f $out") and die;
- unlink "$file" || die;
- }
- 
-@@ -245,7 +244,6 @@
- if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) {
- my ($outdir, $section, $outfile) = ($1, $2, $3);
- system("xsltproc -o $outdir/$outfile.$section --nonet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") 
and die;
--system ("gzip -9 -f $outdir/$outfile.$section") and die;
- }
- unlink "$file" || die;
- }

diff --git a/app-text/po4a/po4a-0.57-r1.ebuild 
b/app-text/po4a/po4a-0.57-r1.ebuild
deleted file mode 100644
index e05dec8567c..000
--- a/app-text/po4a/po4a-0.57-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-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"
-
-inherit perl-module plocale
-
-DESCRIPTION="Tools to ease the translation of documentation"
-HOMEPAGE="https://po4a.org/";
-SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-text/opensp
-   dev-libs/libxslt
-   dev-perl/Locale-gettext
-   dev-perl/SGMLSpm
-   dev-perl/TermReadKey
-   dev-perl/Text-WrapI18N
-   dev-perl/Unicode-LineBreak
-   dev-perl/YAML-Tiny
-   sys-devel/gettext
-   dev-perl/Pod-Parser"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-text/docbook-xml-dtd:4.1.2
-   app-text/docbook-xsl-stylesheets
-   dev-perl/Module-Build
-   test? (
-   app-text/docbook-sgml-dtd:4.1
-   virtual/latex-base
-   )"
-
-PATCHES=( "${FILESDIR}"/${PN}-man.patch )
-
-PERL_RM_FILES=(
-   t/09-html.t
-)
-DIST_TEST="do"
-
-src_prepare() {
-   plocale_find_changes "${S}/po/bin" '' '.po'
-
-   rm_locale() {
-   PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
-   }
-   plocale_for_each_disabled_locale rm_locale
-
-   perl-module_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2020-08-01 Thread Akinori Hattori
commit: 6ac86d3acbb30e755926659eb51cefd84c7a7911
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sat Aug  1 12:59:23 2020 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sat Aug  1 12:59:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac86d3a

app-text/po4a: new upstream release

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori  gentoo.org>

 app-text/po4a/Manifest  |  1 +
 app-text/po4a/files/po4a-0.60-man.patch | 18 
 app-text/po4a/po4a-0.60.ebuild  | 51 +
 3 files changed, 70 insertions(+)

diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
index 43a5e932869..f5e248b0e6e 100644
--- a/app-text/po4a/Manifest
+++ b/app-text/po4a/Manifest
@@ -1,2 +1,3 @@
 DIST po4a-0.57.tar.gz 3079550 BLAKE2B 
54b1d3263aa0ebd90eec61d735c3422efb5f67b2d88f91a87a6893bcdb7f06131aedadeb3577d221cf75ba07f8001f6e23409375756afec8357e26e8f0f0a1c2
 SHA512 
7ac2e614c126b049feeb8edbafb71a875cee78fb85d8cd74f3bf5b555cc8b2d19d5e4606b732e714e937c34e178729d73edfe559de594c5ffe811b5162b27d81
+DIST po4a-0.60.tar.gz 3799018 BLAKE2B 
cecc260af82318fa4dfeab7ef81a29256f6531d8d97afe379d0e3291197f5b9bd0a4379697f23186de0a70ff3476cedae98bedd19bf7cddf59e9503ffbc90202
 SHA512 
b1e32169221d6aaf49fa0e6a42e45a858c8608a62470e5d5b769da985e4d03e09a220384400fe36f740447770331f7b8b821f00dc9ce68d3c7b00178c146c6a9
 DIST po4a-v0.59.1.tar.gz 3624434 BLAKE2B 
9837a7317eecd3db540bc7c23b3d26a9110f00d9c441b1bf1d61af80bae1fe0952f875425f14d66a939456f3a90e9ea74c189d94da7471c7c9a4d0b15f3875ce
 SHA512 
904cb5817586fef19de55e76f3a33c264f9864b5c720b727a75e78a3b690e1ecd7b10603304a762d07b340320143b83b686c9918b9fe95499ceb55482950a4d4

diff --git a/app-text/po4a/files/po4a-0.60-man.patch 
b/app-text/po4a/files/po4a-0.60-man.patch
new file mode 100644
index 000..40927dbda81
--- /dev/null
+++ b/app-text/po4a/files/po4a-0.60-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
 b/Po4aBuilder.pm
+@@ -232,7 +232,6 @@
+ }
+ $parser->parse_from_file ($file, $out);
+ 
+-system("gzip -9 -f $out") and die;
+ unlink "$file" || die;
+ }
+ 
+@@ -250,7 +249,6 @@
+   print "Convert $outdir/$outfile.$section (online docbook.xsl 
file). ";
+   system("xsltproc -o $outdir/$outfile.$section --nonet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") 
and die;
+   }
+-system ("gzip -9 -f $outdir/$outfile.$section") and die;
+ }
+ unlink "$file" || die;
+ }

diff --git a/app-text/po4a/po4a-0.60.ebuild b/app-text/po4a/po4a-0.60.ebuild
new file mode 100644
index 000..8807618f22d
--- /dev/null
+++ b/app-text/po4a/po4a-0.60.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+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 sr_Cyrl sv uk vi zh_CN zh_HK"
+
+inherit l10n perl-module
+
+DESCRIPTION="Tools to ease the translation of documentation"
+HOMEPAGE="https://po4a.org/";
+SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris 
~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-text/opensp
+   dev-libs/libxslt
+   dev-perl/Locale-gettext
+   dev-perl/SGMLSpm
+   dev-perl/TermReadKey
+   dev-perl/Text-WrapI18N
+   dev-perl/Unicode-LineBreak
+   dev-perl/YAML-Tiny
+   sys-devel/gettext"
+DEPEND="${RDEPEND}
+   app-text/docbook-xml-dtd:4.1.2
+   app-text/docbook-xsl-stylesheets
+   dev-perl/Module-Build
+   test? (
+   app-text/docbook-sgml-dtd:4.1
+   dev-perl/Test-Pod
+   virtual/latex-base
+   )"
+
+PATCHES=( "${FILESDIR}"/${P}-man.patch )
+
+DIST_TEST="do"
+
+src_prepare() {
+   l10n_find_plocales_changes "${S}/po/bin" '' '.po'
+
+   rm_locale() {
+   PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
+   }
+   l10n_for_each_disabled_locale_do rm_locale
+
+   perl-module_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2020-08-01 Thread Akinori Hattori
commit: 1f56f392616334d05dcdbf32861768abd9546347
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sat Aug  1 12:53:41 2020 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sat Aug  1 12:53:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f56f392

app-text/po4a: drop old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori  gentoo.org>

 app-text/po4a/Manifest |  1 -
 .../po4a/files/po4a-0.45-614122-no-dot-inc.patch   | 26 -
 app-text/po4a/po4a-0.47-r1.ebuild  | 62 --
 3 files changed, 89 deletions(-)

diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
index 2580a64bd37..43a5e932869 100644
--- a/app-text/po4a/Manifest
+++ b/app-text/po4a/Manifest
@@ -1,3 +1,2 @@
 DIST po4a-0.57.tar.gz 3079550 BLAKE2B 
54b1d3263aa0ebd90eec61d735c3422efb5f67b2d88f91a87a6893bcdb7f06131aedadeb3577d221cf75ba07f8001f6e23409375756afec8357e26e8f0f0a1c2
 SHA512 
7ac2e614c126b049feeb8edbafb71a875cee78fb85d8cd74f3bf5b555cc8b2d19d5e4606b732e714e937c34e178729d73edfe559de594c5ffe811b5162b27d81
 DIST po4a-v0.59.1.tar.gz 3624434 BLAKE2B 
9837a7317eecd3db540bc7c23b3d26a9110f00d9c441b1bf1d61af80bae1fe0952f875425f14d66a939456f3a90e9ea74c189d94da7471c7c9a4d0b15f3875ce
 SHA512 
904cb5817586fef19de55e76f3a33c264f9864b5c720b727a75e78a3b690e1ecd7b10603304a762d07b340320143b83b686c9918b9fe95499ceb55482950a4d4
-DIST po4a_0.47.orig.tar.gz 2389750 BLAKE2B 
72cd81e10f638a660e201b0c733b08c316aa75dd29b054bbc4c645c265b9e7745ce762305a8296f8cc37d2f182755dfa1394861f6c471cff1c7c398d13ac28cc
 SHA512 
9c459a9795977a39aacc09cfb6ddbdc7dd2174e22896fa7bde90510a43ea833054aef558f7ca798991addc052a2c7f91ee11e5d49658a5c80a9ecb9c135ff97a

diff --git a/app-text/po4a/files/po4a-0.45-614122-no-dot-inc.patch 
b/app-text/po4a/files/po4a-0.45-614122-no-dot-inc.patch
deleted file mode 100644
index 226fa0e9b6e..000
--- a/app-text/po4a/files/po4a-0.45-614122-no-dot-inc.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Kent Fredric 
-Date: Tue, 13 Jun 2017 21:10:34 +1200
-Subject: [PATCH] Fix broken use of lib '.'
-
-   "'.'" is not "."
-
-Bug: https://bugs.gentoo.org/614122

- Build.PL | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Build.PL b/Build.PL
-index 43c6f80..9ee443b 100644
 a/Build.PL
-+++ b/Build.PL
-@@ -1,6 +1,6 @@
- #!/usr/bin/perl
- 
--use lib q('.');
-+use lib q(.);
- use Po4aBuilder;
- 
- my $build = Po4aBuilder->new
--- 
-2.13.1
-

diff --git a/app-text/po4a/po4a-0.47-r1.ebuild 
b/app-text/po4a/po4a-0.47-r1.ebuild
deleted file mode 100644
index 6388874ad46..000
--- a/app-text/po4a/po4a-0.47-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-inherit perl-module l10n
-
-DESCRIPTION="Tools for helping translation of documentation"
-HOMEPAGE="https://po4a.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 sparc 
x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-text/openjade
-   dev-libs/libxslt
-   dev-perl/Locale-gettext
-   dev-perl/SGMLSpm
-   dev-perl/TermReadKey
-   dev-perl/Text-WrapI18N
-   sys-devel/gettext"
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.1.2
-   app-text/docbook-xsl-stylesheets
-   dev-perl/Module-Build
-   test? (
-   app-text/docbook-sgml-dtd:4.1
-   virtual/tex-base
-   )"
-
-# Running tests in parallel fails
-DIST_TEST="do"
-
-PATCHES=(
-   # Fix bad escaping of '.' in @INC modification
-   "${FILESDIR}"/${PN}-0.45-614122-no-dot-inc.patch
-   "${FILESDIR}"/${PN}-man.patch
-)
-
-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"
-
-   # Get rid of disabled locales
-   my_get_disabled_locales() {
-   PERL_RM_FILES=( "${PERL_RM_FILES[@]}" "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}"
-
-   perl-module_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2019-01-19 Thread Akinori Hattori
commit: 299c2af293818d6f0b8669ba8c0d6eb1be1b08b7
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sat Jan 19 15:27:16 2019 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sat Jan 19 15:27:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299c2af2

app-text/po4a: do not compress man pages

Closes: https://bugs.gentoo.org/675402
Signed-off-by: Akinori Hattori  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-text/po4a/files/po4a-man.patch | 18 ++
 app-text/po4a/po4a-0.47-r1.ebuild  |  6 --
 app-text/po4a/po4a-0.54.ebuild |  4 +++-
 app-text/po4a/po4a-0.55.ebuild |  9 +++--
 4 files changed, 28 insertions(+), 9 deletions(-)

diff --git a/app-text/po4a/files/po4a-man.patch 
b/app-text/po4a/files/po4a-man.patch
new file mode 100644
index 000..6dd94aed153
--- /dev/null
+++ b/app-text/po4a/files/po4a-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
 b/Po4aBuilder.pm
+@@ -233,7 +233,6 @@
+ }
+ $parser->parse_from_file ($file, $out);
+ 
+-system("gzip -9 -f $out") and die;
+ unlink "$file" || die;
+ }
+ 
+@@ -245,7 +244,6 @@
+ if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) {
+ my ($outdir, $section, $outfile) = ($1, $2, $3);
+ system("xsltproc -o $outdir/$outfile.$section --nonet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") 
and die;
+-system ("gzip -9 -f $outdir/$outfile.$section") and die;
+ }
+ unlink "$file" || die;
+ }

diff --git a/app-text/po4a/po4a-0.47-r1.ebuild 
b/app-text/po4a/po4a-0.47-r1.ebuild
index 94311ba3d57..dcf757c2f2b 100644
--- a/app-text/po4a/po4a-0.47-r1.ebuild
+++ b/app-text/po4a/po4a-0.47-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,8 +37,10 @@ DIST_TEST="do"
 
 PATCHES=(
# Fix bad escaping of '.' in @INC modification
-   "${FILESDIR}/${PN}-0.45-614122-no-dot-inc.patch"
+   "${FILESDIR}"/${PN}-0.45-614122-no-dot-inc.patch
+   "${FILESDIR}"/${PN}-man.patch
 )
+
 src_prepare() {
# Check against locale files in ${S}/pod/bin for mismatches
# with languages listed in PLOCALES

diff --git a/app-text/po4a/po4a-0.54.ebuild b/app-text/po4a/po4a-0.54.ebuild
index 52fdda5fc38..45fe4908e04 100644
--- a/app-text/po4a/po4a-0.54.ebuild
+++ b/app-text/po4a/po4a-0.54.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
virtual/tex-base
)"
 
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
 PERL_RM_FILES=(
t/09-html.t
 )

diff --git a/app-text/po4a/po4a-0.55.ebuild b/app-text/po4a/po4a-0.55.ebuild
index 1ff6a7d4df6..45fe4908e04 100644
--- a/app-text/po4a/po4a-0.55.ebuild
+++ b/app-text/po4a/po4a-0.55.ebuild
@@ -8,7 +8,7 @@ inherit perl-module l10n
 
 DESCRIPTION="Tools to ease the translation of documentation"
 HOMEPAGE="https://po4a.org/";
-SRC_URI="https://github.com/mquinson/po4a/releases/download/v${PV}/${P}.tar.gz";
+SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
virtual/tex-base
)"
 
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
 PERL_RM_FILES=(
t/09-html.t
 )
@@ -48,8 +50,3 @@ src_prepare() {
 
perl-module_src_prepare
 }
-
-src_install() {
-   perl-module_src_install
-   find "${ED%/}/usr/share/man" -name '*.gz' -exec gzip -d '{}' +
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/

2017-06-16 Thread Andreas Hüttel
commit: df371dfd1f6bb2a1d2a6646674eb5e5c464f8ef2
Author: Kent Fredric  gentoo  org>
AuthorDate: Tue Jun 13 09:34:57 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Jun 16 20:29:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df371dfd

app-text/po4a: Fix broken library path tweaks re bug #614122

The original code already had a "use lib" incantation that clearly
intended to imply ".", but ... did so by quoting it twice:

  q('.')   == "'.''"

That's too much '

Bug: https://bugs.gentoo.org/614122
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../po4a/files/po4a-0.45-614122-no-dot-inc.patch   | 26 ++
 app-text/po4a/po4a-0.45-r3.ebuild  |  3 +++
 app-text/po4a/po4a-0.47-r1.ebuild  |  4 
 3 files changed, 33 insertions(+)

diff --git a/app-text/po4a/files/po4a-0.45-614122-no-dot-inc.patch 
b/app-text/po4a/files/po4a-0.45-614122-no-dot-inc.patch
new file mode 100644
index 000..226fa0e9b6e
--- /dev/null
+++ b/app-text/po4a/files/po4a-0.45-614122-no-dot-inc.patch
@@ -0,0 +1,26 @@
+From: Kent Fredric 
+Date: Tue, 13 Jun 2017 21:10:34 +1200
+Subject: [PATCH] Fix broken use of lib '.'
+
+   "'.'" is not "."
+
+Bug: https://bugs.gentoo.org/614122
+---
+ Build.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Build.PL b/Build.PL
+index 43c6f80..9ee443b 100644
+--- a/Build.PL
 b/Build.PL
+@@ -1,6 +1,6 @@
+ #!/usr/bin/perl
+ 
+-use lib q('.');
++use lib q(.);
+ use Po4aBuilder;
+ 
+ my $build = Po4aBuilder->new
+-- 
+2.13.1
+

diff --git a/app-text/po4a/po4a-0.45-r3.ebuild 
b/app-text/po4a/po4a-0.45-r3.ebuild
index 985f6b206af..3523e66bb77 100644
--- a/app-text/po4a/po4a-0.45-r3.ebuild
+++ b/app-text/po4a/po4a-0.45-r3.ebuild
@@ -55,6 +55,9 @@ src_prepare() {
einfo "Your LINGUAS lists the following languages: $LINGUAS"
einfo "Removing locale files not listed in it ..."
 
+   # Fix bad escaping of '.' in @INC modification
+   epatch "${FILESDIR}/${P}-614122-no-dot-inc.patch"
+
# 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[@]}"

diff --git a/app-text/po4a/po4a-0.47-r1.ebuild 
b/app-text/po4a/po4a-0.47-r1.ebuild
index a935ce38894..87a6be51c2a 100644
--- a/app-text/po4a/po4a-0.47-r1.ebuild
+++ b/app-text/po4a/po4a-0.47-r1.ebuild
@@ -35,6 +35,10 @@ DEPEND="${RDEPEND}
 # Running tests in parallel fails
 DIST_TEST="do"
 
+PATCHES=(
+   # Fix bad escaping of '.' in @INC modification
+   "${FILESDIR}/${PN}-0.45-614122-no-dot-inc.patch"
+)
 src_prepare() {
# Check against locale files in ${S}/pod/bin for mismatches
# with languages listed in PLOCALES