1 |
Dnia 2013-08-21, o godz. 10:13:21 |
2 |
Mike Gilbert <floppym@g.o> napisał(a): |
3 |
|
4 |
> On Wed, Aug 21, 2013 at 6:43 AM, Michał Górny <mgorny@g.o> wrote: |
5 |
> > --- |
6 |
> > gx86/eclass/distutils-r1.eclass | 5 ++++- |
7 |
> > 1 file changed, 4 insertions(+), 1 deletion(-) |
8 |
> > |
9 |
> > diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass |
10 |
> > index fba7634..e95df3e 100644 |
11 |
> > --- a/gx86/eclass/distutils-r1.eclass |
12 |
> > +++ b/gx86/eclass/distutils-r1.eclass |
13 |
> > @@ -308,6 +308,10 @@ distutils_install_for_testing() { |
14 |
> > esetup.py "${add_args[@]}" |
15 |
> > } |
16 |
> > |
17 |
> > +# @FUNCTION: _distutils-r1_disable_ez_setup |
18 |
> > +# @DESCRIPTION: |
19 |
> > +# Stub out ez_setup.py and distribute_setup.py to prevent packages |
20 |
> > +# from trying to download a local copy of setuptools. |
21 |
> > _distutils-r1_disable_ez_setup() { |
22 |
> > local stub="def use_setuptools(*args, **kwargs): pass" |
23 |
> > if [[ -f ez_setup.py ]]; then |
24 |
> > @@ -340,7 +344,6 @@ distutils-r1_python_prepare_all() { |
25 |
> > fi |
26 |
> > fi |
27 |
> > |
28 |
> > - # Prevent packages from downloading their own copy of setuptools |
29 |
> > _distutils-r1_disable_ez_setup |
30 |
> > |
31 |
> > if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]] |
32 |
> > -- |
33 |
> > 1.8.3.2 |
34 |
> > |
35 |
> > |
36 |
> |
37 |
> Let's add @INTERNAL before @DESCRIPTION. |
38 |
|
39 |
Added. |
40 |
|
41 |
-- |
42 |
Best regards, |
43 |
Michał Górny |