diff options
Diffstat (limited to 'lang/python27/patches/patch-av')
-rw-r--r-- | lang/python27/patches/patch-av | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python27/patches/patch-av b/lang/python27/patches/patch-av new file mode 100644 index 00000000000..7074c968f1a --- /dev/null +++ b/lang/python27/patches/patch-av @@ -0,0 +1,17 @@ +$NetBSD: patch-av,v 1.1.1.1 2011/02/22 08:52:01 obache Exp $ + +Add a knob (enviroment variable) for disabling installation of egg metadata +in extensions until we have infrastructure in place for dealing w/ it. + +--- Lib/distutils/command/install.py.orig 2010-05-05 19:09:31.000000000 +0000 ++++ Lib/distutils/command/install.py +@@ -666,7 +666,8 @@ class install (Command): + ('install_headers', has_headers), + ('install_scripts', has_scripts), + ('install_data', has_data), +- ('install_egg_info', lambda self:True), + ] ++ if not os.environ.has_key('PKGSRC_PYTHON_NO_EGG'): ++ sub_commands += [('install_egg_info', lambda self:True),] + + # class install |