[Python-modules-commits] r23326 - in packages/python-dawg/trunk/debian (changelog rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Wed Jan 16 20:27:39 UTC 2013
Date: Wednesday, January 16, 2013 @ 20:27:37
Author: jwilk
Revision: 23326
Build -dbg extensions without optimizations.
Modified:
packages/python-dawg/trunk/debian/changelog
packages/python-dawg/trunk/debian/rules
Modified: packages/python-dawg/trunk/debian/changelog
===================================================================
--- packages/python-dawg/trunk/debian/changelog 2013-01-16 20:16:07 UTC (rev 23325)
+++ packages/python-dawg/trunk/debian/changelog 2013-01-16 20:27:37 UTC (rev 23326)
@@ -2,4 +2,4 @@
* Initial release (closes: #695289).
- -- Jakub Wilk <jwilk at debian.org> Wed, 16 Jan 2013 21:15:47 +0100
+ -- Jakub Wilk <jwilk at debian.org> Wed, 16 Jan 2013 21:27:01 +0100
Modified: packages/python-dawg/trunk/debian/rules
===================================================================
--- packages/python-dawg/trunk/debian/rules 2013-01-16 20:16:07 UTC (rev 23325)
+++ packages/python-dawg/trunk/debian/rules 2013-01-16 20:27:37 UTC (rev 23326)
@@ -4,6 +4,7 @@
export PYTHONHASHSEED=random
export CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
+export CFLAGS_noopt = $(patsubst -O%,-O0,$(CFLAGS))
export CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
@@ -36,7 +37,8 @@
build/build-stamp: build/cython-stamp
dh_testdir
rm -rf lib/
- $(call loop, $(python_all), $(parallel)) setup.py build
+ $(call loop, $(python2) $(python3), $(parallel)) setup.py build
+ export CFLAGS="$$CFLAGS_noopt" && $(call loop, $(python2d) $(python3d), $(parallel)) setup.py build
ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
$(call loop, $(python_all),) debian/run-tests.py
endif
More information about the Python-modules-commits
mailing list