commit: 9ce9cc560ac9eb669ca922f3307620f0c42455a7 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Sun Jun 23 09:09:06 2024 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Sun Jun 23 09:09:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce9cc56
app-text/po4a: new upstream release Closes: https://bugs.gentoo.org/934743 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> app-text/po4a/Manifest | 1 + app-text/po4a/po4a-0.73.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest index 9254dacb961c..d88275566f6e 100644 --- a/app-text/po4a/Manifest +++ b/app-text/po4a/Manifest @@ -1,3 +1,4 @@ DIST po4a-0.69.tar.gz 4665710 BLAKE2B 2fc1b6cd53f1b282f20cd4932de7f5d6d9882de9f50181f0de89995c9d9b79b5fd2bc53d3757c56c519478e67ac636deb5a011cc8810a002b6bb6dabdb44442b SHA512 9cb5eec547ab18d1c3ebdda212b909fc4f5489a74641ba2d7e0a3a1d060f245d23667c16e687c678c5ccc3809c9315d20673266dcc3764172a899caa397238e3 DIST po4a-0.71.tar.gz 4860322 BLAKE2B 8a5d1f8dd17b435bf1ada91b4c49862eed97775c574d2972d749f6126eb5f654cc4f8a1def3d4b9ddf50f86c8d02e4f328cbb0406eb91e5224e9373c2063441e SHA512 67ba925433d95ebd6675ce2e58b2664a07a00016ca4b5029845e485dfad1804737a00935e2da162e2488e4c21b947e7fa32b40ac3d9b28d4729d8f93c3f2040b DIST po4a-0.72.tar.gz 4888348 BLAKE2B f97b14a3c686bdb0cab0088375dd6d190582df57bd36cb4c44b436fd1618d88cbe7551484d453596669e16920ceac459efc085fd50a2b25cc6c9dd5f62213f9e SHA512 f47f7cf2718ff0690c82202e1a5eff3dedd0b35c4f139658c600c307c8f073689fa50ec4ad4b948881863631be6f8d1944b56b13ba2b63ec5323368724286859 +DIST po4a-0.73.tar.gz 5117198 BLAKE2B 3072c3a55751610e565b71a754d79b20529d8d6f1cfd2e1c691b6de77c3a13b8a5f1c3306be4574627a0078b27f32fe38864faca5c6c03da6a92049387476f72 SHA512 5860af1da2a0ab1875a994b09ae2da481c12a6777655610e8c8ded4a6132048a33aeea10eaa756a73af1a7bf1e3e65f7ab5ded9d799904ae3240c6ec3b0a31d2 diff --git a/app-text/po4a/po4a-0.73.ebuild b/app-text/po4a/po4a-0.73.ebuild new file mode 100644 index 000000000000..397bab6b1bee --- /dev/null +++ b/app-text/po4a/po4a-0.73.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}/releases/download/v${PV}/${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 +}
