diff options
author | Akinori Hattori <hattya@gentoo.org> | 2024-05-29 22:05:51 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2024-05-29 22:05:51 +0900 |
commit | fea2834747b1e042c36af519368c62fff5d498a7 (patch) | |
tree | ba3c1f69132ab07c260205edfe70cb47e4d122a6 /app-text | |
parent | app-text/po4a: drop old (diff) | |
download | gentoo-fea2834747b1e042c36af519368c62fff5d498a7.tar.gz gentoo-fea2834747b1e042c36af519368c62fff5d498a7.tar.bz2 gentoo-fea2834747b1e042c36af519368c62fff5d498a7.zip |
app-text/po4a: new upstream release
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/po4a/Manifest | 1 | ||||
-rw-r--r-- | app-text/po4a/po4a-0.72.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest index bf247a91de64..9254dacb961c 100644 --- a/app-text/po4a/Manifest +++ b/app-text/po4a/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-text/po4a/po4a-0.72.ebuild b/app-text/po4a/po4a-0.72.ebuild new file mode 100644 index 000000000000..397bab6b1bee --- /dev/null +++ b/app-text/po4a/po4a-0.72.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 +} |