[Python-apps-commits] r4637 - in packages/gtg/trunk/debian (4 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Mon Feb 1 19:21:24 UTC 2010
Date: Monday, February 1, 2010 @ 19:21:21
Author: dktrkranz
Revision: 4637
* debian/patches/py2.5_compat.patch:
- with is a reserved word in Python 2.6, import with_statement to
handle it correctly and avoid issues during byte-compilation
Added:
packages/gtg/trunk/debian/patches/
packages/gtg/trunk/debian/patches/py2.5_compat.patch
packages/gtg/trunk/debian/patches/series
Modified:
packages/gtg/trunk/debian/changelog
Modified: packages/gtg/trunk/debian/changelog
===================================================================
--- packages/gtg/trunk/debian/changelog 2010-02-01 15:38:43 UTC (rev 4636)
+++ packages/gtg/trunk/debian/changelog 2010-02-01 19:21:21 UTC (rev 4637)
@@ -3,10 +3,13 @@
* New upstream release.
* debian/patches/distutils_missing_files.patch:
- Removed, fixed upstream.
+ * debian/patches/py2.5_compat.patch:
+ - with is a reserved word in Python 2.6, import with_statement to
+ handle it correctly and avoid issues during byte-compilation.
* debian/control:
- Bump Standard-Version to 3.8.4, no changes needed.
- -- Luca Falavigna <dktrkranz at debian.org> Mon, 01 Feb 2010 14:39:12 +0100
+ -- Luca Falavigna <dktrkranz at debian.org> Mon, 01 Feb 2010 20:19:24 +0100
gtg (0.2-2) unstable; urgency=low
Added: packages/gtg/trunk/debian/patches/py2.5_compat.patch
===================================================================
--- packages/gtg/trunk/debian/patches/py2.5_compat.patch (rev 0)
+++ packages/gtg/trunk/debian/patches/py2.5_compat.patch 2010-02-01 19:21:21 UTC (rev 4637)
@@ -0,0 +1,16 @@
+Description: Python 2.5 compatibility fix
+Origin: http://bazaar.launchpad.net/~gtg/gtg/trunk/revision/560
+
+Index: gtg-0.2.1/GTG/core/plugins/api.py
+===================================================================
+--- gtg-0.2.1.orig/GTG/core/plugins/api.py 2010-02-01 20:06:38.819870167 +0100
++++ gtg-0.2.1/GTG/core/plugins/api.py 2010-02-01 20:06:36.871872118 +0100
+@@ -17,6 +17,8 @@
+ # this program. If not, see <http://www.gnu.org/licenses/>.
+ # -----------------------------------------------------------------------------
+
++from __future__ import with_statement
++
+ import os
+ import pickle
+ from xdg.BaseDirectory import xdg_config_home
Added: packages/gtg/trunk/debian/patches/series
===================================================================
--- packages/gtg/trunk/debian/patches/series (rev 0)
+++ packages/gtg/trunk/debian/patches/series 2010-02-01 19:21:21 UTC (rev 4637)
@@ -0,0 +1 @@
+py2.5_compat.patch
More information about the Python-apps-commits
mailing list