tags 664939 + pending thanks Dear maintainer,
I've prepared an NMU for egenix-mx-base (versioned as 3.2.1-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Beach Boys
diff -Nru egenix-mx-base-3.2.1/debian/changelog egenix-mx-base-3.2.1/debian/changelog --- egenix-mx-base-3.2.1/debian/changelog 2011-09-14 21:51:25.000000000 +0200 +++ egenix-mx-base-3.2.1/debian/changelog 2012-04-09 17:51:30.000000000 +0200 @@ -1,3 +1,15 @@ +egenix-mx-base (3.2.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS with Python 2.7.3: ImportError: cannot import name + customize_compiler": add patch from Ubuntu / Colin Watson: + - mxSetup.py: Go back to importing customize_compiler from + distutils.sysconfig. This is needed with Python 2.7.3, and should + still work with earlier 2.7 versions. + (Closes: #664939) + + -- gregor herrmann <gre...@debian.org> Mon, 09 Apr 2012 17:50:33 +0200 + egenix-mx-base (3.2.1-1) unstable; urgency=low * New upstream release (closes: #641441) diff -Nru egenix-mx-base-3.2.1/debian/patches/distutils_customize_compiler.patch egenix-mx-base-3.2.1/debian/patches/distutils_customize_compiler.patch --- egenix-mx-base-3.2.1/debian/patches/distutils_customize_compiler.patch 1970-01-01 01:00:00.000000000 +0100 +++ egenix-mx-base-3.2.1/debian/patches/distutils_customize_compiler.patch 2012-04-09 17:50:30.000000000 +0200 @@ -0,0 +1,37 @@ +Description: Go back to importing customize_compiler from distutils.sysconfig + This is needed with Python 2.7.3, and should still work with earlier 2.7 + versions. +Author: Colin Watson <cjwat...@ubuntu.com> +Bug-Debian: http://bugs.debian.org/664939 +Forwarded: no +Last-Update: 2012-04-02 + +Index: b/mxSetup.py +=================================================================== +--- a/mxSetup.py ++++ b/mxSetup.py +@@ -297,11 +297,12 @@ + from distutils.command.sdist import sdist + from distutils.command.clean import clean + import distutils.archive_util ++from distutils.sysconfig import customize_compiler + + if (python_version < '2.7' or + (python_version > '3.0' and python_version < '3.2')): + from distutils.sysconfig import \ +- get_config_h_filename, parse_config_h, customize_compiler, \ ++ get_config_h_filename, parse_config_h, \ + get_config_vars, get_python_version + from distutils.util import get_platform + +@@ -313,10 +314,6 @@ + get_config_h_filename, parse_config_h, get_path, \ + get_config_vars, get_python_version, get_platform + +- # This API was moved from distutils.sysconfig to distutils.ccompiler +- # in Python 2.7 +- from distutils.ccompiler import customize_compiler +- + def get_python_include_dir(): + + """ Return the path to the Python include dir. diff -Nru egenix-mx-base-3.2.1/debian/patches/series egenix-mx-base-3.2.1/debian/patches/series --- egenix-mx-base-3.2.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ egenix-mx-base-3.2.1/debian/patches/series 2012-04-09 17:50:30.000000000 +0200 @@ -0,0 +1 @@ +distutils_customize_compiler.patch
signature.asc
Description: Digital signature