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 1946C138334 for ; Wed, 9 Jan 2019 02:15:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD870E0ABA; Wed, 9 Jan 2019 02:15:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A5A70E0ABA for ; Wed, 9 Jan 2019 02:15:49 +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 2E569335C67 for ; Wed, 9 Jan 2019 02:15:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 135C8500 for ; Wed, 9 Jan 2019 02:15:46 +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: <1546994417.39b66747da4b649b5eb878dba993cb7dd9f47952.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5-functions.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 39b66747da4b649b5eb878dba993cb7dd9f47952 X-VCS-Branch: master Date: Wed, 9 Jan 2019 02:15:46 +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: 27a767a6-a099-4cda-885c-eb46ccfc2eac X-Archives-Hash: 1735f7e56c7218c35accd74ef0dae392 commit: 39b66747da4b649b5eb878dba993cb7dd9f47952 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 9 00:25:16 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jan 9 00:40:17 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=39b66747 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index b2d8813736..4ff518f841 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -288,6 +288,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}) @@ -306,6 +307,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