From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B05C1382DE for ; Sun, 3 Jul 2016 16:09:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09898E09A9; Sun, 3 Jul 2016 16:09:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DC87E09A9 for ; Sun, 3 Jul 2016 16:09:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E455340D7B for ; Sun, 3 Jul 2016 16:08:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC9A02440 for ; Sun, 3 Jul 2016 16:08:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1467562115.167c45876320bbea3bcbd9d749bcd438b6832c25.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdepim-l10n/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/kdepim-l10n/kdepim-l10n-15.12.3.ebuild kde-apps/kdepim-l10n/kdepim-l10n-4.14.3-r1.ebuild kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r2.ebuild X-VCS-Directories: kde-apps/kdepim-l10n/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 167c45876320bbea3bcbd9d749bcd438b6832c25 X-VCS-Branch: master Date: Sun, 3 Jul 2016 16:08:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 09a8f171-60a4-457d-a5a2-3da07307c0d6 X-Archives-Hash: f78c6eaa6c4c7c2111bae70686c72a4e commit: 167c45876320bbea3bcbd9d749bcd438b6832c25 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 2 12:52:09 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 3 16:08:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167c4587 kde-apps/kdepim-l10n: Migrate to L10N kde-apps/kdepim-l10n/kdepim-l10n-15.12.3.ebuild | 14 ++++++-------- kde-apps/kdepim-l10n/kdepim-l10n-4.14.3-r1.ebuild | 16 +++++++--------- kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r2.ebuild | 14 ++++++-------- 3 files changed, 19 insertions(+), 25 deletions(-) diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.3.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.3.ebuild index 57055dc..e8c8248 100644 --- a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.3.ebuild +++ b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.3.ebuild @@ -35,8 +35,8 @@ URI_BASE="${SRC_URI/-${PV}.tar.xz/}" SRC_URI="" for MY_LANG in ${MY_LANGS} ; do - IUSE="${IUSE} linguas_${MY_LANG}" - SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )" + IUSE="${IUSE} l10n_${MY_LANG/[@_]/-}" + SRC_URI="${SRC_URI} l10n_${MY_LANG/[@_]/-}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )" done S="${WORKDIR}" @@ -44,12 +44,10 @@ S="${WORKDIR}" src_unpack() { if [[ -z ${A} ]]; then elog - elog "You either have the LINGUAS variable unset, or it only" - elog "contains languages not supported by ${P}." - elog "You won't have any additional language support." + elog "None of the requested L10N are supported by ${P}." elog elog "${P} supports these language codes:" - elog "${MY_LANGS}" + elog "${MY_LANGS//[@_]/-}" elog fi @@ -60,9 +58,9 @@ src_prepare() { default local LNG DIR - # add all linguas to cmake + # add all l10n to cmake if [[ -n ${A} ]]; then - for LNG in ${LINGUAS}; do + for LNG in ${MY_LANGS}; do DIR="kde-l10n-${LNG}-${PV}" SDIR="${S}/${DIR}/5/${LNG}" if [[ -d "${DIR}" ]] ; then diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3-r1.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3-r1.ebuild index 66fbf72..523c2b8 100644 --- a/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3-r1.ebuild +++ b/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -31,8 +31,8 @@ URI_BASE="${SRC_URI/-${PV}.tar.xz/}" SRC_URI="" for MY_LANG in ${MY_LANGS} ; do - IUSE="${IUSE} linguas_${MY_LANG}" - SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )" + IUSE="${IUSE} l10n_${MY_LANG/[@_]/-}" + SRC_URI="${SRC_URI} l10n_${MY_LANG/[@_]/-}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )" done S="${WORKDIR}" @@ -40,12 +40,10 @@ S="${WORKDIR}" src_unpack() { if [[ -z ${A} ]]; then elog - elog "You either have the LINGUAS variable unset, or it only" - elog "contains languages not supported by ${P}." - elog "You won't have any additional language support." + elog "None of the requested L10N are supported by ${P}." elog elog "${P} supports these language codes:" - elog "${MY_LANGS}" + elog "${MY_LANGS//[@_]/-}" elog fi @@ -55,9 +53,9 @@ src_unpack() { src_prepare() { local LNG DIR - # add all linguas to cmake + # add all l10n to cmake if [[ -n ${A} ]]; then - for LNG in ${LINGUAS}; do + for LNG in ${MY_LANGS}; do DIR="kde-l10n-${LNG}-${PV}" if [[ -d "${DIR}" ]] ; then echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r2.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r2.ebuild index 3f02b70..56d98aa 100644 --- a/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r2.ebuild +++ b/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r2.ebuild @@ -32,8 +32,8 @@ URI_BASE="mirror://kde/Attic/4.4.5/src/kde-l10n" SRC_URI="" for MY_LANG in ${MY_LANGS} ; do - IUSE="${IUSE} linguas_${MY_LANG}" - SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/kde-l10n-${MY_LANG}-4.4.5.tar.bz2 )" + IUSE="${IUSE} l10n_${MY_LANG/[@_]/-}" + SRC_URI="${SRC_URI} l10n_${MY_LANG/[@_]/-}? ( ${URI_BASE}/kde-l10n-${MY_LANG}-4.4.5.tar.bz2 )" done S="${WORKDIR}" @@ -42,12 +42,10 @@ src_unpack() { local LNG DIR if [[ -z ${A} ]]; then elog - elog "You either have the LINGUAS variable unset, or it only" - elog "contains languages not supported by ${P}." - elog "You won't have any additional language support." + elog "None of the requested L10N are supported by ${P}." elog elog "${P} supports these language codes:" - elog "${MY_LANGS}" + elog "${MY_LANGS//[@_]/-}" elog fi @@ -55,9 +53,9 @@ src_unpack() { [[ -n ${A} ]] && unpack ${A} cd "${S}" - # for all linguas do: + # for all l10n do: if [[ -n ${A} ]]; then - for LNG in ${LINGUAS}; do + for LNG in ${MY_LANGS}; do einfo "Processing ${LNG} localization" DIR="kde-l10n-${LNG}-4.4.5"