[Python-modules-commits] r34394 - in packages/python-enable/trunk/debian (3 files)

varun at users.alioth.debian.org varun at users.alioth.debian.org
Sun Sep 27 04:40:14 UTC 2015


    Date: Sunday, September 27, 2015 @ 04:40:01
  Author: varun
Revision: 34394

Add patch to build package without optimization (Closes: #797483)

Added:
  packages/python-enable/trunk/debian/patches/no-opt.patch
Modified:
  packages/python-enable/trunk/debian/changelog
  packages/python-enable/trunk/debian/patches/series

Modified: packages/python-enable/trunk/debian/changelog
===================================================================
--- packages/python-enable/trunk/debian/changelog	2015-09-26 13:38:37 UTC (rev 34393)
+++ packages/python-enable/trunk/debian/changelog	2015-09-27 04:40:01 UTC (rev 34394)
@@ -1,3 +1,10 @@
+python-enable (4.5.1-2) unstable; urgency=medium
+
+  [ Philip Chimento ]
+  * Add patch to build package without optimization (Closes: #797483)
+
+ -- Varun Hiremath <varun at debian.org>  Sun, 27 Sep 2015 00:33:58 -0400
+
 python-enable (4.5.1-1) unstable; urgency=medium
 
   * New upstream release

Added: packages/python-enable/trunk/debian/patches/no-opt.patch
===================================================================
--- packages/python-enable/trunk/debian/patches/no-opt.patch	                        (rev 0)
+++ packages/python-enable/trunk/debian/patches/no-opt.patch	2015-09-27 04:40:01 UTC (rev 34394)
@@ -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

Modified: packages/python-enable/trunk/debian/patches/series
===================================================================
--- packages/python-enable/trunk/debian/patches/series	2015-09-26 13:38:37 UTC (rev 34393)
+++ packages/python-enable/trunk/debian/patches/series	2015-09-27 04:40:01 UTC (rev 34394)
@@ -3,3 +3,4 @@
 pillow.diff
 gcc5.diff
 setup.diff
+no-opt.patch




More information about the Python-modules-commits mailing list