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 CCC8F1384B4 for ; Wed, 18 Nov 2015 21:31:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B855221C02D; Wed, 18 Nov 2015 21:31:34 +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 15AEF21C02A for ; Wed, 18 Nov 2015 21:31:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 463003408CB for ; Wed, 18 Nov 2015 21:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A888E1063 for ; Wed, 18 Nov 2015 21:31:29 +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: <1447882252.9dcb587826f444ebdcb8219e6cd1d0f365a1d2e4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/python-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9dcb587826f444ebdcb8219e6cd1d0f365a1d2e4 X-VCS-Branch: python-eapi6 Date: Wed, 18 Nov 2015 21:31:29 +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: 053d5247-a5c8-4574-b154-9073a82f4d4f X-Archives-Hash: 56eb887f4db556758649e64d6f61cd52 commit: 9dcb587826f444ebdcb8219e6cd1d0f365a1d2e4 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 21:27:52 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 18 21:30:52 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dcb5878 python-r1.eclass: Ban python_export_best in EAPI 6 eclass/python-r1.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 1531442..de83bb5 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -603,6 +603,8 @@ python_setup() { python_export_best() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}" + eqawarn "python_export_best() is deprecated. Please use python_setup instead," eqawarn "combined with python_export if necessary."