Here's the promised patch. I'd suggest this also be backported to stable.
Regards, Philip
diff -Nru python-enable-4.5.1/debian/changelog python-enable-4.5.1/debian/changelog --- python-enable-4.5.1/debian/changelog 2015-08-16 19:28:32.000000000 -0700 +++ python-enable-4.5.1/debian/changelog 2015-08-30 16:27:08.000000000 -0700 @@ -1,3 +1,10 @@ +python-enable (4.5.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Build package without optimization. Closes: #797483. + + -- Philip Chimento <[email protected]> Sun, 30 Aug 2015 16:25:07 -0700 + python-enable (4.5.1-1) unstable; urgency=medium * New upstream release diff -Nru python-enable-4.5.1/debian/patches/no-opt.patch python-enable-4.5.1/debian/patches/no-opt.patch --- python-enable-4.5.1/debian/patches/no-opt.patch 1969-12-31 16:00:00.000000000 -0800 +++ python-enable-4.5.1/debian/patches/no-opt.patch 2015-08-30 16:33:12.000000000 -0700 @@ -0,0 +1,14 @@ +Add -O0 flag to CFLAGS and CXXFLAGS in environment, in order to build +the package without optimization. +--- a/setup.py ++++ b/setup.py +@@ -32,6 +32,9 @@ + + from numpy.distutils.core import setup + ++os.environ['CFLAGS'] = '-O0' ++os.environ['CXXFLAGS'] = '-O0' ++ + MAJOR = 4 + MINOR = 5 + MICRO = 1 diff -Nru python-enable-4.5.1/debian/patches/series python-enable-4.5.1/debian/patches/series --- python-enable-4.5.1/debian/patches/series 2015-08-16 21:11:13.000000000 -0700 +++ python-enable-4.5.1/debian/patches/series 2015-08-30 16:34:49.000000000 -0700 @@ -3,3 +3,4 @@ pillow.diff gcc5.diff setup.diff +no-opt.patch
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

