diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-03 13:48:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-03 13:48:30 +0100 |
commit | 24d75f43d3d4caf76f2448bb277e89a3b3ae0d99 (patch) | |
tree | 4f290d635d831599222130ba8ddbf1a726129426 /app-text/po4a/po4a-0.67.ebuild | |
parent | 8d8735134b6bb6e159162e531cccb456691a4ed4 (diff) |
gentoo auto-resync : 03.08.2022 - 13:48:05
Diffstat (limited to 'app-text/po4a/po4a-0.67.ebuild')
-rw-r--r-- | app-text/po4a/po4a-0.67.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-text/po4a/po4a-0.67.ebuild b/app-text/po4a/po4a-0.67.ebuild new file mode 100644 index 000000000000..73bc08239bb9 --- /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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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 +} |