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 B41B31384B4 for ; Sun, 22 Nov 2015 20:00:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05824E07A0; Sun, 22 Nov 2015 19:51:42 +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 08F9F21C0E5 for ; Sun, 22 Nov 2015 19:51:41 +0000 (UTC) Received: from localhost.localdomain (d202-251.icpnet.pl [109.173.202.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 6DBC134078E; Sun, 22 Nov 2015 19:51:39 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 17/29] python-r1.eclass: Ban python_parallel_foreach_impl in EAPI 6 Date: Sun, 22 Nov 2015 20:50:58 +0100 Message-Id: <1448221870-17269-18-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448221870-17269-1-git-send-email-mgorny@gentoo.org> References: <1448221870-17269-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 5b5ce354-ea7c-4486-b6cd-e1bdd1781935 X-Archives-Hash: 9e64362100c6ec5d455ff8d5e2c541f5 --- 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." -- 2.6.3