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 4F00E1381F3 for ; Wed, 21 Aug 2013 20:01:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CABDE0C48; Wed, 21 Aug 2013 20:01:10 +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 A8053E0C48 for ; Wed, 21 Aug 2013 20:01:09 +0000 (UTC) Received: from localhost (77-254-183-247.adsl.inetia.pl [77.254.183.247]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 8CC3F33EC1D; Wed, 21 Aug 2013 20:01:07 +0000 (UTC) Date: Wed, 21 Aug 2013 22:01:10 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: Mike Gilbert Cc: gentoo-python , Gentoo Python Project Subject: Re: [gentoo-python] [PATCH distutils-r1 3/4] Describe _distutils-r1_disable_ez_setup() using eclassdoc. Message-ID: <20130821220110.4b67670c@gentoo.org> In-Reply-To: References: <20130821124232.00996a19@gentoo.org> <1377081788-1666-3-git-send-email-mgorny@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.20; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/NawV5ABU195Pw/7LvwTp_l3"; protocol="application/pgp-signature" X-Archives-Salt: fec59d7a-4632-45f0-b6b5-a6b71c8b4a5c X-Archives-Hash: d7fef33b1f24c439da49b9bd4166c61b --Sig_/NawV5ABU195Pw/7LvwTp_l3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dnia 2013-08-21, o godz. 10:13:21 Mike Gilbert napisa=C5=82(a): > On Wed, Aug 21, 2013 at 6:43 AM, Micha=C5=82 G=C3=B3rny wrote: > > --- > > gx86/eclass/distutils-r1.eclass | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1= .eclass > > index fba7634..e95df3e 100644 > > --- a/gx86/eclass/distutils-r1.eclass > > +++ b/gx86/eclass/distutils-r1.eclass > > @@ -308,6 +308,10 @@ distutils_install_for_testing() { > > esetup.py "${add_args[@]}" > > } > > > > +# @FUNCTION: _distutils-r1_disable_ez_setup > > +# @DESCRIPTION: > > +# Stub out ez_setup.py and distribute_setup.py to prevent packages > > +# from trying to download a local copy of setuptools. > > _distutils-r1_disable_ez_setup() { > > local stub=3D"def use_setuptools(*args, **kwargs): pass" > > if [[ -f ez_setup.py ]]; then > > @@ -340,7 +344,6 @@ distutils-r1_python_prepare_all() { > > fi > > fi > > > > - # Prevent packages from downloading their own copy of setuptools > > _distutils-r1_disable_ez_setup > > > > if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL= } ]] > > -- > > 1.8.3.2 > > > > >=20 > Let's add @INTERNAL before @DESCRIPTION. Added. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/NawV5ABU195Pw/7LvwTp_l3 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iQJ8BAEBCgBmBQJSFRyHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEKBDIQANdyqzkRjb6wo6ZllE60tmln jah9pYF3GH4i9mdD3apBGMHGOQF2sRdmalc1O8eqS0gEFmBcYhkISlI9wpQHQNuQ vZprlwO7xdWlMkcgLr8C/ae3VtLCWuSO37+PBRagvRfLd/8SuuEDm08GQ3xIUpFe 2mEkYotao1fmMs/Kudg+t+pnrpxAejAj2TL8O3YLFRAiBFOaoIPTsrjAFBT6ctPg Uutrfka06Q5SCVxOD/1vYdQjvcc4vrwcHk8Bqk743oUb03YLFwQUWA7cENbmDRXj ONcizhvlety4G3hdvtKiufPUGT4/5u8RtW+lfpH0Ua+cib+HxfEIFueYpF8UYxUg DSfSv1rL2HSl24flpp0CWFz84FxFUt4TAhAQY1ePJI8M1EHYyzCZ77DZzhEF17A9 8r6kC6PKbNa2BvcT0LbqGIwGOAzmwL4M58YwWsknt0nrFfn+LlqCeCxOSTi80sdH K4okq36DIDwvMxy/l69bpzsIXpVcjVWf5BsLIs6zqCMHDFLbbbmxhK0yWDsabyWc rsneGaoOOD/3Kb2vfVbLPO+hdEuHuWT/d7w0LOFyR2N/rIt8lUPNcMW306FR67VX NnaaNf/qsDxo20/BvK+lyf01ijQMXn3IIBStBn0g1eLoTAhsLGlJ5GDDZ/4paOv0 ZITC9QKU47jW2lk+YG/D =YXBZ -----END PGP SIGNATURE----- --Sig_/NawV5ABU195Pw/7LvwTp_l3--