diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-08 00:03:30 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-08 00:07:32 +0100 |
commit | 4ea3b65775d183a39fc8e561fe9c121d0ed4ed06 (patch) | |
tree | f89558545090b5d0f4d2d2ebe59b44d96ffb58c9 /dev-util | |
parent | sys-fs/xfsprogs: amd64 stable wrt bug #643020 (diff) | |
download | gentoo-4ea3b65775d183a39fc8e561fe9c121d0ed4ed06.tar.gz gentoo-4ea3b65775d183a39fc8e561fe9c121d0ed4ed06.tar.bz2 gentoo-4ea3b65775d183a39fc8e561fe9c121d0ed4ed06.zip |
dev-util/debhelper: Migrate from LINGUAS to L10N.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/debhelper/debhelper-10.10.9.ebuild | 28 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-11.ebuild | 28 | ||||
-rw-r--r-- | 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 c4f2a7b166cc..f485cb5d4c27 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 526db42385e6..eb7e5fa626c2 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 3333a21a303d..10f0449075ea 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} |