[Python-modules-commits] r2495 - in /packages/petsc4py/trunk: configure/ debian/patches/ debian/patches/petscconf.py.diff debian/rules

certik-guest at users.alioth.debian.org certik-guest at users.alioth.debian.org
Sun Jun 3 11:20:01 UTC 2007


Author: certik-guest
Date: Sun Jun  3 11:20:01 2007
New Revision: 2495

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2495
Log:
convert to dpatch

Added:
    packages/petsc4py/trunk/debian/patches/
    packages/petsc4py/trunk/debian/patches/petscconf.py.diff
Removed:
    packages/petsc4py/trunk/configure/
Modified:
    packages/petsc4py/trunk/debian/rules

Added: packages/petsc4py/trunk/debian/patches/petscconf.py.diff
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/patches/petscconf.py.diff?rev=2495&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/patches/petscconf.py.diff (added)
+++ packages/petsc4py/trunk/debian/patches/petscconf.py.diff Sun Jun  3 11:20:01 2007
@@ -1,0 +1,13 @@
+--- petsc4py-0.7.3.orig/configure/petscconf.py
++++ petsc4py-0.7.3/configure/petscconf.py
+@@ -312,8 +312,8 @@
+         if not self.petsc_arch: return
+         macros = ['-DPETSC_DIR=%s'  % self.petsc_dir,
+                   '-DPETSC_ARCH=%s' % self.petsc_arch[0]]
+-        self.swigflags.extend(macros)
+-        self.swigflags.append('-O')
++        #self.swigflags.extend(macros)
++        #self.swigflags.append('-O')
+         #self.swigflags.append('-fcompact')
+         #self.swigflags.append('-noproxy')
+ 

Modified: packages/petsc4py/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/rules?rev=2495&op=diff
==============================================================================
--- packages/petsc4py/trunk/debian/rules (original)
+++ packages/petsc4py/trunk/debian/rules Sun Jun  3 11:20:01 2007
@@ -5,3 +5,12 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	dpatch cat-all >patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched




More information about the Python-modules-commits mailing list