From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-847574-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 348041384B4 for <garchives@archives.gentoo.org>; Thu, 19 Nov 2015 15:14:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 971F1E07F1; Thu, 19 Nov 2015 15:14:15 +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 D1EBEE07DF for <gentoo-commits@lists.gentoo.org>; Thu, 19 Nov 2015 15:14:13 +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 79D633409ED for <gentoo-commits@lists.gentoo.org>; Thu, 19 Nov 2015 15:14:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 568C91250 for <gentoo-commits@lists.gentoo.org>; Thu, 19 Nov 2015 15:14:08 +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: <1447946015.713c8b6128773b3a7d2e512c75764b2280e67a23.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: 713c8b6128773b3a7d2e512c75764b2280e67a23 X-VCS-Branch: python-eapi6 Date: Thu, 19 Nov 2015 15:14:08 +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: a7fc4973-4a58-4488-9e0f-cd5aed712863 X-Archives-Hash: 93448cc0d960b49829d9120174b39e79 commit: 713c8b6128773b3a7d2e512c75764b2280e67a23 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Nov 18 21:27:15 2015 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Nov 19 15:13:35 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713c8b61 python-r1.eclass: Ban python_parallel_foreach_impl 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 d3b4f1d..1531442 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -526,6 +526,8 @@ python_foreach_impl() { python_parallel_foreach_impl() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}" + if [[ ! ${_PYTHON_PARALLEL_WARNED} ]]; then eqawarn "python_parallel_foreach_impl() is no longer meaningful. All runs" eqawarn "are non-parallel now. Please replace the call with python_foreach_impl."