diff options
author | 2019-09-27 22:52:57 +0900 | |
---|---|---|
committer | 2019-09-27 22:52:57 +0900 | |
commit | 579e7cb763dded98f3cf5d66d677372a4bf03bef (patch) | |
tree | 4a6aa6e491242e0cf464658d808779f762287c04 /app-text/po4a/po4a-0.56.ebuild | |
parent | app-emulation/cri-tools: Version bump to 1.16.1 (diff) | |
download | gentoo-579e7cb763dded98f3cf5d66d677372a4bf03bef.tar.gz gentoo-579e7cb763dded98f3cf5d66d677372a4bf03bef.tar.bz2 gentoo-579e7cb763dded98f3cf5d66d677372a4bf03bef.zip |
app-text/po4a: new upstream release
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text/po4a/po4a-0.56.ebuild')
-rw-r--r-- | app-text/po4a/po4a-0.56.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-text/po4a/po4a-0.56.ebuild b/app-text/po4a/po4a-0.56.ebuild new file mode 100644 index 000000000000..c4c7d79c9443 --- /dev/null +++ b/app-text/po4a/po4a-0.56.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PLOCALES="af ar ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt pt_BR ru sl sv uk vi zh_CN zh_HK" + +inherit perl-module l10n + +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 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="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 + virtual/latex-base + )" + +PATCHES=( "${FILESDIR}"/${PN}-man.patch ) + +PERL_RM_FILES=( + t/09-html.t +) +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 +} |