From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-848937-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0FA841384B4 for <garchives@archives.gentoo.org>; Fri, 27 Nov 2015 13:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 100F021C102; Fri, 27 Nov 2015 13:16:39 +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 6E1E021C102 for <gentoo-commits@lists.gentoo.org>; Fri, 27 Nov 2015 13:16:38 +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 E66D4340806 for <gentoo-commits@lists.gentoo.org>; Fri, 27 Nov 2015 13:16:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C47CF5D for <gentoo-commits@lists.gentoo.org>; Fri, 27 Nov 2015 13:16:32 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1448629543.361298b8e23b44dfdb87e9833a90722941fcd081.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: 361298b8e23b44dfdb87e9833a90722941fcd081 X-VCS-Branch: python-eapi6 Date: Fri, 27 Nov 2015 13:16:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7e4e191b-7c6f-427b-b993-319d1cd53e66 X-Archives-Hash: 8e3503b8c83646717416fc9933d59016 commit: 361298b8e23b44dfdb87e9833a90722941fcd081 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Nov 18 21:27:52 2015 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Nov 27 13:05:43 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361298b8 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."