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