[Python-modules-commits] r16447 - in packages/pywavelets/trunk/debian (4 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sat Apr 9 00:02:34 UTC 2011


    Date: Saturday, April 9, 2011 @ 00:01:07
  Author: eriol-guest
Revision: 16447

Added a patch to fix compilation with cython >= 0.14

Added:
  packages/pywavelets/trunk/debian/patches/
  packages/pywavelets/trunk/debian/patches/01_fix-cython-0-14-compiling.patch
  packages/pywavelets/trunk/debian/patches/series
Modified:
  packages/pywavelets/trunk/debian/rules

Added: packages/pywavelets/trunk/debian/patches/01_fix-cython-0-14-compiling.patch
===================================================================
--- packages/pywavelets/trunk/debian/patches/01_fix-cython-0-14-compiling.patch	                        (rev 0)
+++ packages/pywavelets/trunk/debian/patches/01_fix-cython-0-14-compiling.patch	2011-04-09 00:01:07 UTC (rev 16447)
@@ -0,0 +1,12 @@
+Fixed compilation with cython >= 0.14
+--- a/src/_pywt.pyx
++++ b/src/_pywt.pyx
+@@ -164,7 +164,7 @@
+ 
+     #cdef readonly properties
+ 
+-    def __new__(self, char* name="", object filter_bank=None):
++    def __cinit__(self, char* name="", object filter_bank=None):
+         cdef object family_code, family_number
+         cdef object filters
+         cdef int filter_length

Added: packages/pywavelets/trunk/debian/patches/series
===================================================================
--- packages/pywavelets/trunk/debian/patches/series	                        (rev 0)
+++ packages/pywavelets/trunk/debian/patches/series	2011-04-09 00:01:07 UTC (rev 16447)
@@ -0,0 +1 @@
+01_fix-cython-0-14-compiling.patch

Modified: packages/pywavelets/trunk/debian/rules
===================================================================
--- packages/pywavelets/trunk/debian/rules	2011-04-08 20:58:36 UTC (rev 16446)
+++ packages/pywavelets/trunk/debian/rules	2011-04-09 00:01:07 UTC (rev 16447)
@@ -9,6 +9,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_quilt_unpatch
 	rm -rf build doc/build
 	rm -rf $(MODULE_NAME).egg-info
 	find . -name '*\.py[co]' -delete
@@ -24,6 +25,7 @@
 
 build-ext-%:
 	dh_testdir
+	dh_quilt_patch
 	python$* setup.py build
 	touch $@
 




More information about the Python-modules-commits mailing list