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 DAEAC1381F3 for ; Wed, 21 Aug 2013 10:43:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77768E0C8D; Wed, 21 Aug 2013 10:43:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18968E0C8D for ; Wed, 21 Aug 2013 10:43:07 +0000 (UTC) Received: from pomiot.lan (77-254-183-247.adsl.inetia.pl [77.254.183.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 442F633E814; Wed, 21 Aug 2013 10:43:05 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH distutils-r1 1/4] Namespace _disable_ez_setup. Date: Wed, 21 Aug 2013 12:43:05 +0200 Message-Id: <1377081788-1666-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <20130821124232.00996a19@gentoo.org> References: <20130821124232.00996a19@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: 8bf02ee1-1020-4c27-8e06-75f69feba887 X-Archives-Hash: f60b089dd5afe0f737094f5edacc1674 --- gx86/eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass index 81e5824..97ddbe4 100644 --- a/gx86/eclass/distutils-r1.eclass +++ b/gx86/eclass/distutils-r1.eclass @@ -308,7 +308,7 @@ distutils_install_for_testing() { esetup.py "${add_args[@]}" } -_disable_ez_setup() { +_distutils-r1_disable_ez_setup() { local stub="def use_setuptools(*args, **kwargs): pass" [[ -f ez_setup.py ]] && echo "${stub}" > ez_setup.py [[ -f distribute_setup.py ]] && echo "${stub}" > distribute_setup.py @@ -337,7 +337,7 @@ distutils-r1_python_prepare_all() { fi # Prevent packages from downloading their own copy of setuptools - _disable_ez_setup + _distutils-r1_disable_ez_setup if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]] then -- 1.8.3.2