tags 586840 + patch
thanks

NMU debdiff attached
reverted:
--- mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/publishPack.csh
+++ mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/publishPack.csh
@@ -1,4 +1,4 @@
+#!/bin/tcsh
-#!/usr/bin/tcsh
 
 # 1) go to the mgl version of the packages
 # cd /mgl/python/share/lib/python2.5/site-packages/
diff -u mgltools-mglutil-1.5.4.cvs.20090603/debian/control mgltools-mglutil-1.5.4.cvs.20090603/debian/control
--- mgltools-mglutil-1.5.4.cvs.20090603/debian/control
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller <moel...@debian.org>, Sargis Dallakyan <sar...@scripps.edu>
-Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), cdbs (>= 0.4), python2.5-dev
+Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), cdbs (>= 0.4), python, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: >= 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pybabel/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/pybabel/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-mglutil-1.5.4.cvs.20090603/debian/rules mgltools-mglutil-1.5.4.cvs.20090603/debian/rules
--- mgltools-mglutil-1.5.4.cvs.20090603/debian/rules
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/rules
@@ -14,10 +14,9 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 clean::
 	find . -name CVS -a -type d| xargs -r rm -r
 	find . -name "*.gif" | xargs -r chmod -x
-	find . -name "*.csh" | xargs -r sed -i -e 's%#!/bin/tcsh%#!/usr/bin/tcsh%'
 	find . -name "*.csh" -o -name "getlatest" | xargs -r chmod +x
 	rm -rf build build-stamp debian/Pmv
diff -u mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog
--- mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,13 @@
+mgltools-mglutil (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add fix_shebangs.patch to drop hardcoded pythoh2.5 dependency
+  * Add fix_assertion.patch to fix compatibility with Python 2.6
+  * Allow byte-compilation for Python >= 2.5
+    (closes: 586840)
+
+ -- Piotr Ożarowski <pi...@debian.org>  Wed, 30 Jun 2010 20:35:25 +0200
+
 mgltools-mglutil (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- mgltools-mglutil-1.5.4.cvs.20090603.orig/debian/patches/fix_assertion.patch
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/patches/fix_assertion.patch
@@ -0,0 +1,13 @@
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/math/Tests/test_matToAxis.py
+===================================================================
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/math/Tests/test_matToAxis.py
++++ mgltools-mglutil-1.5.4.cvs.20090603/mglutil/math/Tests/test_matToAxis.py
+@@ -33,7 +33,7 @@ def rotateObject():
+     for i in range(len(m1)):
+         if fabs(m1[i]-m2[i]) > 1e-4:
+             bSame = False
+-    assert (bSame, True)
++    assert bSame, True
+ 
+ 
+ def test_rotateObject():
only in patch2:
unchanged:
--- mgltools-mglutil-1.5.4.cvs.20090603.orig/debian/patches/fix_shebangs.patch
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/patches/fix_shebangs.patch
@@ -0,0 +1,30 @@
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/publish
+===================================================================
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/bin/publish
++++ mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/publish
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ from optparse import OptionParser
+ import time, sys, os, string
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/tester
+===================================================================
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/bin/tester
++++ mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/tester
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ 
+ from optparse import OptionParser
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/publishPack.csh
+===================================================================
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/publishPack.csh
++++ mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/publishPack.csh
+@@ -1,4 +1,4 @@
+-#!/bin/tcsh
++#!/usr/bin/tcsh
+ 
+ # 1) go to the mgl version of the packages
+ # cd /mgl/python/share/lib/python2.5/site-packages/
only in patch2:
unchanged:
--- mgltools-mglutil-1.5.4.cvs.20090603.orig/debian/patches/series
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/patches/series
@@ -0,0 +1,2 @@
+fix_shebangs.patch
+fix_assertion.patch

Attachment: signature.asc
Description: Digital signature



Reply via email to