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 494021381F3 for ; Wed, 21 Aug 2013 18:25:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0A80E0ABB; Wed, 21 Aug 2013 18:25:45 +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 6A750E0ABB for ; Wed, 21 Aug 2013 18:25:45 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id C3E4C33ECA3 for ; Wed, 21 Aug 2013 18:25:42 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id a12so692072wgh.18 for ; Wed, 21 Aug 2013 11:25:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=N48EV0i/GltpTV6F6JuvJgerH2hrQ7Gr1rWCRfRTeBA=; b=iKsHBovIY0g/1Pv3WlHlwckSVw92SibcCHFpt2ImKZt42YPTpaHKsaFEMX9hd3Lujn pQSiU4aAVGXC139Mac+bhlD9Gs8pKViQHsc5CwaPblmGFbX9ygpjUr9TdLpgM1K2Pekc v019NWoTz3LcNs9Zsxyr3MnVgT09tusizI/Sali21q/UPStuwziLEZGA3770TjgFqjtM 4EEp9u6veaDx0NBYpeNKZ/bCSlW0ELVm+a/bNaCFg9ZEVmPxHGaI195p85TfOLHY5Bqg 1A+vi3ee9/PDdXjWhswSrV6R1btu7hGCR7rGrzd6jge1gf3O7GYGfT9J8KWOLrmE1xMu DYtA== 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 MIME-Version: 1.0 X-Received: by 10.180.75.15 with SMTP id y15mr429846wiv.12.1377109540088; Wed, 21 Aug 2013 11:25:40 -0700 (PDT) Received: by 10.194.39.231 with HTTP; Wed, 21 Aug 2013 11:25:40 -0700 (PDT) In-Reply-To: <1377081788-1666-1-git-send-email-mgorny@gentoo.org> References: <20130821124232.00996a19@gentoo.org> <1377081788-1666-1-git-send-email-mgorny@gentoo.org> Date: Wed, 21 Aug 2013 14:25:40 -0400 Message-ID: Subject: Re: [gentoo-python] [PATCH distutils-r1 1/4] Namespace _disable_ez_setup. From: Mike Gilbert To: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-python , Gentoo Python Project Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: abb4580d-f2f5-45d9-a0fa-a35db013fb27 X-Archives-Hash: c45e9cba748efcf590b0c4043619b758 On Wed, Aug 21, 2013 at 6:43 AM, Micha=C5=82 G=C3=B3rny = wrote: > --- > 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.e= class > 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=3D"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 > > LGTM