[gentoo-commits] gentoo-x86 commit in app-text/po4a: po4a-0.45-r1.ebuild ChangeLog
monsieurp14/11/29 18:06:14 Modified: po4a-0.45-r1.ebuild ChangeLog Log: Honour languages set by LINGUAS. Bug #402691. (Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit) Revision ChangesPath 1.3 app-text/po4a/po4a-0.45-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?r1=1.2&r2=1.3 Index: po4a-0.45-r1.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- po4a-0.45-r1.ebuild 26 Oct 2014 08:08:03 - 1.2 +++ po4a-0.45-r1.ebuild 29 Nov 2014 18:06:14 - 1.3 @@ -1,12 +1,15 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.2 2014/10/26 08:08:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.3 2014/11/29 18:06:14 monsieurp Exp $ EAPI=5 +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_SUBSLOT="yes" -inherit perl-app +inherit perl-app perl-module l10n DESCRIPTION="Tools for helping translation of documentation" HOMEPAGE="http://po4a.alioth.debian.org"; @@ -33,3 +36,29 @@ virtual/tex-base )" SRC_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" + + # Array containing locale files to remove + local locales_to_remove=( ) + + # Get rid of disabled locales + my_get_disabled_locales() { + local locale=$1 + local locale_abs_path="$locales_path/$locale.po" + locales_to_remove+=$locale_abs_path + } + + l10n_for_each_disabled_locale_do my_get_disabled_locales + + einfo "Your LINGUAS lists the following languages: $LINGUAS" + einfo "Removing locale files not listed in it ..." + + # perl_rm_files also updates the Manifest file + # and therefore silences Perl as to .po files we're about to clean + perl_rm_files "${locales_to_remove[@]}" +} 1.85 app-text/po4a/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.85&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.85&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?r1=1.84&r2=1.85 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- ChangeLog 26 Oct 2014 08:08:03 - 1.84 +++ ChangeLog 29 Nov 2014 18:06:14 - 1.85 @@ -1,6 +1,9 @@ # ChangeLog for app-text/po4a # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.84 2014/10/26 08:08:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.85 2014/11/29 18:06:14 monsieurp Exp $ + + 29 Nov 2014; Patrice Clement po4a-0.45-r1.ebuild: + Honour languages set by LINGUAS. Bug #402691. 26 Oct 2014; Mike Frysinger po4a-0.45-r1.ebuild: Mark m68k/s390/sh stable.
[gentoo-commits] gentoo-x86 commit in app-text/po4a: po4a-0.45-r1.ebuild ChangeLog
vapier 14/10/26 08:08:03 Modified: po4a-0.45-r1.ebuild ChangeLog Log: Mark m68k/s390/sh stable. (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200) Revision ChangesPath 1.2 app-text/po4a/po4a-0.45-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?r1=1.1&r2=1.2 Index: po4a-0.45-r1.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- po4a-0.45-r1.ebuild 15 Oct 2014 17:54:01 - 1.1 +++ po4a-0.45-r1.ebuild 26 Oct 2014 08:08:03 - 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.1 2014/10/15 17:54:01 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.2 2014/10/26 08:08:03 vapier Exp $ EAPI=5 @@ -14,7 +14,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="test" RDEPEND="dev-perl/SGMLSpm 1.84 app-text/po4a/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.84&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.84&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?r1=1.83&r2=1.84 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v retrieving revision 1.83 retrieving revision 1.84 diff -u -r1.83 -r1.84 --- ChangeLog 19 Oct 2014 20:10:17 - 1.83 +++ ChangeLog 26 Oct 2014 08:08:03 - 1.84 @@ -1,6 +1,9 @@ # ChangeLog for app-text/po4a # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.83 2014/10/19 20:10:17 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.84 2014/10/26 08:08:03 vapier Exp $ + + 26 Oct 2014; Mike Frysinger po4a-0.45-r1.ebuild: + Mark m68k/s390/sh stable. 19 Oct 2014; Andreas K. Huettel -po4a-0.42.ebuild: Remove old
[gentoo-commits] gentoo-x86 commit in app-text/po4a: po4a-0.45-r1.ebuild ChangeLog po4a-0.45.ebuild
axs 14/10/15 17:54:01 Modified: ChangeLog Added:po4a-0.45-r1.ebuild Removed: po4a-0.45.ebuild Log: bumped EAPI to 5; committed directly to stable as no other changes present and revbump helps stable systems to keep from dieing on dev-lang/perl upgrades (Portage version: 2.2.8-r2/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 2B6559ED) Revision ChangesPath 1.82 app-text/po4a/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.82&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.82&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?r1=1.81&r2=1.82 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- ChangeLog 23 Sep 2014 10:03:56 - 1.81 +++ ChangeLog 15 Oct 2014 17:54:01 - 1.82 @@ -1,6 +1,13 @@ # ChangeLog for app-text/po4a # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.81 2014/09/23 10:03:56 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.82 2014/10/15 17:54:01 axs Exp $ + +*po4a-0.45-r1 (15 Oct 2014) + + 15 Oct 2014; Ian Stakenvicius (_AxS_) +po4a-0.45-r1.ebuild, + -po4a-0.45.ebuild: + bumped EAPI to 5; committed directly to stable as no other changes present and + revbump helps stable systems to keep from dieing on dev-lang/perl upgrades 23 Sep 2014; Agostino Sarubbo po4a-0.45.ebuild: Stable for alpha, wrt bug #520014 1.1 app-text/po4a/po4a-0.45-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.1&content-type=text/plain Index: po4a-0.45-r1.ebuild === # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.1 2014/10/15 17:54:01 axs Exp $ EAPI=5 # Needed because this package also installs to vendor_perl GENTOO_DEPEND_ON_PERL_SUBSLOT="yes" inherit perl-app 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 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-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} >=virtual/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 )" SRC_TEST="do"