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 0F6DC1384B4 for ; Thu, 19 Nov 2015 07:28:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A5FCE08C5; Thu, 19 Nov 2015 07:28:04 +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 A57B8E08C0 for ; Thu, 19 Nov 2015 07:28:02 +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 CD2F6340A1B for ; Thu, 19 Nov 2015 07:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87E901250 for ; Thu, 19 Nov 2015 07:27: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: <1447918011.85dc4b95805a6558e9e0da7f5518383cd8a64bf0.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: 85dc4b95805a6558e9e0da7f5518383cd8a64bf0 X-VCS-Branch: python-eapi6 Date: Thu, 19 Nov 2015 07:27: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: e8d7471c-6fe5-4d87-a9a0-ab4b4b6de096 X-Archives-Hash: 7d5fa8e1da251c0670b62459afbfb045 commit: 85dc4b95805a6558e9e0da7f5518383cd8a64bf0 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 21:27:15 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Nov 19 07:26:51 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85dc4b95 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."