diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-11-23 00:01:38 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-11-23 00:01:38 +0900 |
commit | b05df9687845356ebfc62bac3c1ae1894c596277 (patch) | |
tree | 207570a48478c7db60b0cc1698210761c67053aa /app-text/po4a | |
parent | app-text/po4a: update patch (diff) | |
download | gentoo-b05df9687845356ebfc62bac3c1ae1894c596277.tar.gz gentoo-b05df9687845356ebfc62bac3c1ae1894c596277.tar.bz2 gentoo-b05df9687845356ebfc62bac3c1ae1894c596277.zip |
app-text/po4a: new upstream release
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text/po4a')
-rw-r--r-- | app-text/po4a/Manifest | 1 | ||||
-rw-r--r-- | app-text/po4a/po4a-0.65.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest index 387bfeb428dd..6667f7facc24 100644 --- a/app-text/po4a/Manifest +++ b/app-text/po4a/Manifest @@ -1,2 +1,3 @@ DIST po4a-0.63.tar.gz 4067940 BLAKE2B 4cfa4163c21f5f8b783a5bdc29595f10cd172f7813de5617ed67a25bef547697084511a6f3897c47acb9158f15b3fcd97600bec7e23ba560cffe7cc646ce4c39 SHA512 556859b73728249795df22676a3cde1cbf575c608ad20f267fe7a6ee224d0262db2db19df8b7369ebf1ab568c017548ff118ae035608cca7a4d0963db8acd633 DIST po4a-0.64.tar.gz 4121565 BLAKE2B a579aabb4245501be4ec7c319e8cef91db2e10883a09ef5a7eaf2d97aad64e8e59f25101c20286c955067fef2f58bc08c9865d5d608dd72913a38eaaff0ac542 SHA512 3d51aaa5894365087523b82e218819ba8a92d3cbc1b389648526f26fbbf37ccaa7ed6643bb388e5fa73a7a1abadee2b4ee2ebbcac14790c56567bf1a3e766fb0 +DIST po4a-0.65.tar.gz 4152612 BLAKE2B 81d330f234cae10f228b5de7e8417f79d7008f827faf676a68c83b05044a2198c1c03f8d19d8bbbfdb71a83cb93abc319e7e6ac5ce57704294d0f3b858bb9b56 SHA512 eea2ddc1344d371ee685e73dc3c3b1b58d24f8bae7edbe7f2112bfead1c481c6796d02c5f7d9fc9bbac57bd93c4194ade51368bb8b29ba62aee333a7afa2e7e6 diff --git a/app-text/po4a/po4a-0.65.ebuild b/app-text/po4a/po4a-0.65.ebuild new file mode 100644 index 000000000000..06a610cfb5f7 --- /dev/null +++ b/app-text/po4a/po4a-0.65.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 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="~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" +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/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 + 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 +} |