commit: 4ea3b65775d183a39fc8e561fe9c121d0ed4ed06
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 7 23:03:30 2018 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 7 23:07:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea3b657
dev-util/debhelper: Migrate from LINGUAS to L10N.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-util/debhelper/debhelper-10.10.9.ebuild | 28 +++++++++++++-------------
dev-util/debhelper/debhelper-11.ebuild | 28 +++++++++++++-------------
dev-util/debhelper/debhelper-9.20160814.ebuild | 28 +++++++++++++-------------
3 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/dev-util/debhelper/debhelper-10.10.9.ebuild
b/dev-util/debhelper/debhelper-10.10.9.ebuild
index c4f2a7b166c..f485cb5d4c2 100644
--- a/dev-util/debhelper/debhelper-10.10.9.ebuild
+++ b/dev-util/debhelper/debhelper-10.10.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,11 +12,11 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc
~x86 ~amd64-linux"
IUSE="test"
-DH_LINGUAS=( de es fr )
-IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
+DH_LANGS=( de es fr )
+IUSE+=" ${DH_LANGS[@]/#/l10n_}"
NLS_DEPEND=$(
- printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
+ printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]}
)
RDEPEND="
@@ -39,10 +39,10 @@ S=${WORKDIR}/${PN}
src_compile() {
tc-export CC
- local LANGS="" USE_NLS=no lingua
- for lingua in ${DH_LINGUAS[@]}; do
- if use linguas_${lingua}; then
- LANGS+=" ${lingua}"
+ local LANGS="" USE_NLS=no lang
+ for lang in ${DH_LANGS[@]}; do
+ if use l10n_${lang}; then
+ LANGS+=" ${lang}"
USE_NLS=yes
fi
done
@@ -55,14 +55,14 @@ src_install() {
dodoc doc/* debian/changelog
docinto examples
dodoc examples/*
- local lingua
+ local lang
for manfile in *.1 *.7 ; do
- for lingua in ${DH_LINGUAS[@]}; do
+ for lang in ${DH_LANGS[@]}; do
case ${manfile} in
- *.${lingua}.?)
- use linguas_${lingua} \
- && cp ${manfile}
"${T}"/${manfile/.${lingua}/} \
- && doman -i18n=${lingua}
"${T}"/${manfile/.${lingua}/}
+ *.${lang}.?)
+ use l10n_${lang} \
+ && cp ${manfile}
"${T}"/${manfile/.${lang}/} \
+ && doman -i18n=${lang}
"${T}"/${manfile/.${lang}/}
;;
*)
doman ${manfile}
diff --git a/dev-util/debhelper/debhelper-11.ebuild
b/dev-util/debhelper/debhelper-11.ebuild
index 526db42385e..eb7e5fa626c 100644
--- a/dev-util/debhelper/debhelper-11.ebuild
+++ b/dev-util/debhelper/debhelper-11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,11 +12,11 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc
~x86 ~amd64-linux"
IUSE="test"
-DH_LINGUAS=( de es fr )
-IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
+DH_LANGS=( de es fr )
+IUSE+=" ${DH_LANGS[@]/#/l10n_}"
NLS_DEPEND=$(
- printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
+ printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]}
)
RDEPEND="
@@ -39,10 +39,10 @@ S=${WORKDIR}/${PN}
src_compile() {
tc-export CC
- local LANGS="" USE_NLS=no lingua
- for lingua in ${DH_LINGUAS[@]}; do
- if use linguas_${lingua}; then
- LANGS+=" ${lingua}"
+ local LANGS="" USE_NLS=no lang
+ for lang in ${DH_LANGS[@]}; do
+ if use l10n_${lang}; then
+ LANGS+=" ${lang}"
USE_NLS=yes
fi
done
@@ -55,14 +55,14 @@ src_install() {
dodoc doc/* debian/changelog
docinto examples
dodoc examples/*
- local lingua
+ local lang
for manfile in *.1 *.7 ; do
- for lingua in ${DH_LINGUAS[@]}; do
+ for lang in ${DH_LANGS[@]}; do
case ${manfile} in
- *.${lingua}.?)
- use linguas_${lingua} \
- && cp ${manfile}
"${T}"/${manfile/.${lingua}/} \
- && doman -i18n=${lingua}
"${T}"/${manfile/.${lingua}/}
+ *.${lang}.?)
+ use l10n_${lang} \
+ && cp ${manfile}
"${T}"/${manfile/.${lang}/} \
+ && doman -i18n=${lang}
"${T}"/${manfile/.${lang}/}
;;
*)
doman ${manfile}
diff --git a/dev-util/debhelper/debhelper-9.20160814.ebuild
b/dev-util/debhelper/debhelper-9.20160814.ebuild
index 3333a21a303..10f0449075e 100644
--- a/dev-util/debhelper/debhelper-9.20160814.ebuild
+++ b/dev-util/debhelper/debhelper-9.20160814.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,11 +12,11 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ppc ppc64 ~s390 ~sh sparc x86
~amd64-linux"
IUSE="test"
-DH_LINGUAS=( de es fr )
-IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
+DH_LANGS=( de es fr )
+IUSE+=" ${DH_LANGS[@]/#/l10n_}"
NLS_DEPEND=$(
- printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
+ printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]}
)
RDEPEND="
@@ -39,10 +39,10 @@ S=${WORKDIR}/${PN}
src_compile() {
tc-export CC
- local LANGS="" USE_NLS=no lingua
- for lingua in ${DH_LINGUAS[@]}; do
- if use linguas_${lingua}; then
- LANGS+=" ${lingua}"
+ local LANGS="" USE_NLS=no lang
+ for lang in ${DH_LANGS[@]}; do
+ if use l10n_${lang}; then
+ LANGS+=" ${lang}"
USE_NLS=yes
fi
done
@@ -55,14 +55,14 @@ src_install() {
dodoc doc/* debian/changelog
docinto examples
dodoc examples/*
- local lingua
+ local lang
for manfile in *.1 *.7 ; do
- for lingua in ${DH_LINGUAS[@]}; do
+ for lang in ${DH_LANGS[@]}; do
case ${manfile} in
- *.${lingua}.?)
- use linguas_${lingua} \
- && cp ${manfile}
"${T}"/${manfile/.${lingua}/} \
- && doman -i18n=${lingua}
"${T}"/${manfile/.${lingua}/}
+ *.${lang}.?)
+ use l10n_${lang} \
+ && cp ${manfile}
"${T}"/${manfile/.${lang}/} \
+ && doman -i18n=${lang}
"${T}"/${manfile/.${lang}/}
;;
*)
doman ${manfile}