From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7D5811384B4 for ; Sun, 6 Dec 2015 17:20:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2229BE0867; Sun, 6 Dec 2015 17:20:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50E26E08D4 for ; Sun, 6 Dec 2015 17:20:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59B70340821 for ; Sun, 6 Dec 2015 17:20:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EA86E68 for ; Sun, 6 Dec 2015 17:19:58 +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: <1449422174.41b8034d2ac606e2769fa067b8ec917127ccd7db.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:multilib-eapi6 commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/multilib-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 41b8034d2ac606e2769fa067b8ec917127ccd7db X-VCS-Branch: multilib-eapi6 Date: Sun, 6 Dec 2015 17:19:58 +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: 51e80983-e806-44d4-a2f5-3b5f03e88bdd X-Archives-Hash: 56d6421e0ae81b7783a6873605a09d75 commit: 41b8034d2ac606e2769fa067b8ec917127ccd7db Author: Michał Górny gentoo org> AuthorDate: Sun Dec 6 15:22:48 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Dec 6 17:16:14 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41b8034d multilib-build.eclass: Ban deprecated functions in EAPI 6 eclass/multilib-build.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index d84986e..c7dd98a 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -246,6 +246,8 @@ multilib_parallel_foreach_abi() { multilib_for_best_abi() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}, use multilib_is_native_abi() instead" + eqawarn "QA warning: multilib_for_best_abi() function is deprecated and should" eqawarn "not be used. The multilib_is_native_abi() check may be used instead." @@ -579,6 +581,8 @@ multilib_is_native_abi() { multilib_build_binaries() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}, use multilib_is_native_abi() instead" + eqawarn "QA warning: multilib_build_binaries is deprecated. Please use the equivalent" eqawarn "multilib_is_native_abi function instead."