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 E073F138334 for ; Wed, 9 Jan 2019 10:00:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1208E0C87; Wed, 9 Jan 2019 10:00:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC1E5E0C87 for ; Wed, 9 Jan 2019 10:00:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B08FC335D06 for ; Wed, 9 Jan 2019 10:00:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5657D510 for ; Wed, 9 Jan 2019 10:00:26 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1547027503.8ad404c4f1e7dc104e76442867337416f15adf16.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kde5-functions.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8ad404c4f1e7dc104e76442867337416f15adf16 X-VCS-Branch: master Date: Wed, 9 Jan 2019 10:00:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2ba2cc88-e8ec-460c-80ce-5d143f074dd6 X-Archives-Hash: 1bcff7fc52757f6f830d949a9919b1ba commit: 8ad404c4f1e7dc104e76442867337416f15adf16 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 9 00:25:16 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jan 9 09:51:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad404c4 kde5-functions.eclass: Ban get_kde_version, kde_l10n2lingua in EAPI-7 * get_kde_version was never used and is broken for Jan-Sep kde-apps releases * kde_l10n2lingua is not used since kde-l10n and kde4-l10n packages are gone Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/kde5-functions.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index c6cdc4ba9d0..28446ed82f1 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: kde5-functions.eclass @@ -285,6 +285,7 @@ add_qt_dep() { # If the version equals 9999, "live" is returned. # If no version is specified, ${PV} is used. get_kde_version() { + [[ ${EAPI} != 6 ]] && die "${FUNCNAME} is banned in EAPI 7 and later" local ver=${1:-${PV}} local major=$(ver_cut 1 ${ver}) local minor=$(ver_cut 2 ${ver}) @@ -303,6 +304,7 @@ get_kde_version() { # Output KDE lingua flag name(s) (without prefix(es)) appropriate for # given l10n(s). kde_l10n2lingua() { + [[ ${EAPI} != 6 ]] && die "${FUNCNAME} is banned in EAPI 7 and later" local l for l; do case ${l} in