From 6261961c43bab6ea969a8093a834fc3705c7ad10 Mon Sep 17 00:00:00 2001 From: "Andreas K. Huettel" Date: Fri, 21 Apr 2017 19:03:40 +0200 Subject: app-text/po4a: Revbump to stable to restore the slot operator on perl Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --force --- app-text/po4a/po4a-0.47-r1.ebuild | 54 +++++++++++++++++++++++++++++++++++++ app-text/po4a/po4a-0.47.ebuild | 56 --------------------------------------- 2 files changed, 54 insertions(+), 56 deletions(-) create mode 100644 app-text/po4a/po4a-0.47-r1.ebuild delete mode 100644 app-text/po4a/po4a-0.47.ebuild (limited to 'app-text/po4a') diff --git a/app-text/po4a/po4a-0.47-r1.ebuild b/app-text/po4a/po4a-0.47-r1.ebuild new file mode 100644 index 000000000000..b7ef64a87531 --- /dev/null +++ b/app-text/po4a/po4a-0.47-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK" +PLOCALES_BACKUP="en" + +inherit perl-module l10n + +DESCRIPTION="Tools for helping translation of documentation" +HOMEPAGE="http://po4a.alioth.debian.org" +SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND="dev-perl/SGMLSpm + >=sys-devel/gettext-0.13 + app-text/openjade + dev-libs/libxslt + dev-perl/Locale-gettext + dev-perl/TermReadKey + dev-perl/Text-WrapI18N" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.380.0 + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.1.2 + test? ( app-text/docbook-sgml-dtd + app-text/docbook-sgml-utils + virtual/tex-base )" + +# Running tests in parallel fails +DIST_TEST="do" + +src_prepare() { + # Check against locale files in ${S}/pod/bin for mismatches + # with languages listed in PLOCALES + local locales_path="${S}/po/bin" + l10n_find_plocales_changes "${locales_path}" "" ".po" + + # Get rid of disabled locales + my_get_disabled_locales() { + PERL_RM_FILES=( "${PERL_RM_FILES[@]}" "po/bin/${1}.po" "po/pod/${1}.po" ) + } + + l10n_for_each_disabled_locale_do my_get_disabled_locales + + einfo "Your LINGUAS lists the following languages: ${LINGUAS}" + + perl-module_src_prepare +} diff --git a/app-text/po4a/po4a-0.47.ebuild b/app-text/po4a/po4a-0.47.ebuild deleted file mode 100644 index 13c8287e83c9..000000000000 --- a/app-text/po4a/po4a-0.47.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK" -PLOCALES_BACKUP="en" - -# Needed because this package also installs to vendor_perl -GENTOO_DEPEND_ON_PERL=noslotop -inherit perl-module l10n - -DESCRIPTION="Tools for helping translation of documentation" -HOMEPAGE="http://po4a.alioth.debian.org" -SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="test" - -RDEPEND="dev-perl/SGMLSpm - >=sys-devel/gettext-0.13 - app-text/openjade - dev-libs/libxslt - dev-perl/Locale-gettext - dev-perl/TermReadKey - dev-perl/Text-WrapI18N" -DEPEND="${RDEPEND} - >=dev-perl/Module-Build-0.380.0 - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd:4.1.2 - test? ( app-text/docbook-sgml-dtd - app-text/docbook-sgml-utils - virtual/tex-base )" - -# Running tests in parallel fails -DIST_TEST="do" - -src_prepare() { - # Check against locale files in ${S}/pod/bin for mismatches - # with languages listed in PLOCALES - local locales_path="${S}/po/bin" - l10n_find_plocales_changes "${locales_path}" "" ".po" - - # Get rid of disabled locales - my_get_disabled_locales() { - PERL_RM_FILES=( "${PERL_RM_FILES[@]}" "po/bin/${1}.po" "po/pod/${1}.po" ) - } - - l10n_for_each_disabled_locale_do my_get_disabled_locales - - einfo "Your LINGUAS lists the following languages: ${LINGUAS}" - - perl-module_src_prepare -} -- cgit v1.2.3-65-gdbad