[Python-modules-commits] r27595 - in packages/genshi/trunk/debian (4 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Tue Feb 11 15:45:37 UTC 2014
Date: Tuesday, February 11, 2014 @ 15:45:36
Author: barry
Revision: 27595
* Team upload.
* d/control: Disable building/testing against Python 3.4 until
upstream fixes their ticket #582.
* d/patches/diable-python34.patch: Raise an ImportError when trying
to import genshi in a Python > 3.3.
Added:
packages/genshi/trunk/debian/patches/disable-python34.patch
Modified:
packages/genshi/trunk/debian/changelog
packages/genshi/trunk/debian/control
packages/genshi/trunk/debian/patches/series
Modified: packages/genshi/trunk/debian/changelog
===================================================================
--- packages/genshi/trunk/debian/changelog 2014-02-11 14:42:48 UTC (rev 27594)
+++ packages/genshi/trunk/debian/changelog 2014-02-11 15:45:36 UTC (rev 27595)
@@ -1,3 +1,13 @@
+genshi (0.7-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * d/control: Disable building/testing against Python 3.4 until
+ upstream fixes their ticket #582.
+ * d/patches/diable-python34.patch: Raise an ImportError when trying
+ to import genshi in a Python > 3.3.
+
+ -- Barry Warsaw <barry at debian.org> Mon, 10 Feb 2014 19:49:50 -0500
+
genshi (0.7-1) unstable; urgency=low
[ Barry Warsaw ]
Modified: packages/genshi/trunk/debian/control
===================================================================
--- packages/genshi/trunk/debian/control 2014-02-11 14:42:48 UTC (rev 27594)
+++ packages/genshi/trunk/debian/control 2014-02-11 15:45:36 UTC (rev 27595)
@@ -16,7 +16,7 @@
python3-setuptools
Standards-Version: 3.9.5
X-Python-Version: >= 2.4
-X-Python3-Version: >= 3.3
+X-Python3-Version: >= 3.3, << 3.4
Homepage: http://genshi.edgewall.org/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/genshi/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/genshi/trunk/
Added: packages/genshi/trunk/debian/patches/disable-python34.patch
===================================================================
--- packages/genshi/trunk/debian/patches/disable-python34.patch (rev 0)
+++ packages/genshi/trunk/debian/patches/disable-python34.patch 2014-02-11 15:45:36 UTC (rev 27595)
@@ -0,0 +1,19 @@
+Description: Raise an ImportError when trying to import genshi in a
+ Python > 3.3, since it is not yet compatible with Python 3.4.
+ Remove this when upstream ticket 582 is resolved.
+ http://genshi.edgewall.org/ticket/582
+Author: Barry Warsaw <barry at debian.org>
+Forwarded: not-needed
+
+--- a/genshi/__init__.py
++++ b/genshi/__init__.py
+@@ -22,5 +22,9 @@
+ __docformat__ = 'restructuredtext en'
+ __version__ = '0.7'
+
++import sys
++if not sys.version_info < (3,4):
++ raise ImportError('See http://genshi.edgewall.org/ticket/582')
++
+ from genshi.core import *
+ from genshi.input import ParseError, XML, HTML
Modified: packages/genshi/trunk/debian/patches/series
===================================================================
--- packages/genshi/trunk/debian/patches/series 2014-02-11 14:42:48 UTC (rev 27594)
+++ packages/genshi/trunk/debian/patches/series 2014-02-11 15:45:36 UTC (rev 27595)
@@ -1 +1,2 @@
fix_tests_failure_with_python27.patch
+disable-python34.patch
More information about the Python-modules-commits
mailing list