Dnia 2013-08-21, o godz. 10:13:21 Mike Gilbert napisał(a): > On Wed, Aug 21, 2013 at 6:43 AM, Michał Górny 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="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 > > > > > > Let's add @INTERNAL before @DESCRIPTION. Added. -- Best regards, Michał Górny