[Python-modules-commits] r14637 - in packages/python-enable/trunk/debian (3 files)
varun at users.alioth.debian.org
varun at users.alioth.debian.org
Mon Oct 18 03:22:18 UTC 2010
Date: Monday, October 18, 2010 @ 03:22:03
Author: varun
Revision: 14637
Add patches/sike.diff to fix a compilation error
Added:
packages/python-enable/trunk/debian/patches/sike.diff
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 2010-10-18 03:08:55 UTC (rev 14636)
+++ packages/python-enable/trunk/debian/changelog 2010-10-18 03:22:03 UTC (rev 14637)
@@ -4,8 +4,9 @@
* d/copyright: Remove BSD license references
* d/control: Add cython to Build-Depends
* Drop patches/fix_exceptions.diff -- merged upstream
+ * Add patches/sike.diff to fix a compilation error
- -- Varun Hiremath <varun at debian.org> Sun, 17 Oct 2010 23:00:23 -0400
+ -- Varun Hiremath <varun at debian.org> Sun, 17 Oct 2010 23:10:41 -0400
python-enable (3.3.1-3) unstable; urgency=low
Modified: packages/python-enable/trunk/debian/patches/series
===================================================================
--- packages/python-enable/trunk/debian/patches/series 2010-10-18 03:08:55 UTC (rev 14636)
+++ packages/python-enable/trunk/debian/patches/series 2010-10-18 03:22:03 UTC (rev 14637)
@@ -1 +1,2 @@
+sike.diff
freetype2.diff
Added: packages/python-enable/trunk/debian/patches/sike.diff
===================================================================
--- packages/python-enable/trunk/debian/patches/sike.diff (rev 0)
+++ packages/python-enable/trunk/debian/patches/sike.diff 2010-10-18 03:22:03 UTC (rev 14637)
@@ -0,0 +1,18 @@
+Authon: Varun Hiremath <varun at debian.org>
+Date: Sun, 17 Oct 2010 23:11:05 -0400
+Description: Do not use the keyword with
+Index: python-enable-3.3.2/enthought/savage/compliance/sike.py
+===================================================================
+--- python-enable-3.3.2.orig/enthought/savage/compliance/sike.py 2010-10-17 23:09:28.000000000 -0400
++++ python-enable-3.3.2/enthought/savage/compliance/sike.py 2010-10-17 23:09:53.000000000 -0400
+@@ -339,8 +339,8 @@
+
+ filename, line, name = new.file_line_name
+ if os.path.exists(filename):
+- with open(filename, 'ru') as f:
+- code = f.read()
++ f = open(filename, 'ru')
++ code = f.read()
+ self.code = code
+ self.filename = filename
+ self.line = line
More information about the Python-modules-commits
mailing list