[Python-modules-commits] r34229 - in packages/python-cliff/trunk/debian (3 files)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Fri Sep 11 21:27:13 UTC 2015


    Date: Friday, September 11, 2015 @ 21:27:12
  Author: barry
Revision: 34229

d/patches/python35-compat.patch: Fix Python 3.5 compatibility.
(LP: #1491888)

Added:
  packages/python-cliff/trunk/debian/patches/python35-compat.patch
  packages/python-cliff/trunk/debian/patches/series
Modified:
  packages/python-cliff/trunk/debian/changelog

Modified: packages/python-cliff/trunk/debian/changelog
===================================================================
--- packages/python-cliff/trunk/debian/changelog	2015-09-11 12:24:36 UTC (rev 34228)
+++ packages/python-cliff/trunk/debian/changelog	2015-09-11 21:27:12 UTC (rev 34229)
@@ -1,3 +1,10 @@
+python-cliff (1.14.0-2) experimental; urgency=medium
+
+  * d/patches/python35-compat.patch: Fix Python 3.5 compatibility.
+    (LP: #1491888)
+
+ -- Barry Warsaw <barry at debian.org>  Fri, 11 Sep 2015 17:20:14 -0400
+
 python-cliff (1.14.0-1) experimental; urgency=medium
 
   * New upstream release.

Added: packages/python-cliff/trunk/debian/patches/python35-compat.patch
===================================================================
--- packages/python-cliff/trunk/debian/patches/python35-compat.patch	                        (rev 0)
+++ packages/python-cliff/trunk/debian/patches/python35-compat.patch	2015-09-11 21:27:12 UTC (rev 34229)
@@ -0,0 +1,17 @@
+Description: This upstream Python issue changed the semantics for
+ inspect.getdoc() in the case of class heirarchies, which breaks the cliff
+ test suite: <https://bugs.python.org/issue15582>.  This patch works around
+ that change.
+Author: Barry Warsaw <barry at debian.org>
+Bug: https://bugs.launchpad.net/python-cliff/+bug/1491888
+
+--- a/cliff/tests/utils.py
++++ b/cliff/tests/utils.py
+@@ -12,6 +12,7 @@
+ 
+ 
+ class TestCommand(Command):
++    "" # https://bugs.python.org/issue15582
+ 
+     def get_parser(self, ignore):
+         # Make it look like this class is the parser

Added: packages/python-cliff/trunk/debian/patches/series
===================================================================
--- packages/python-cliff/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-cliff/trunk/debian/patches/series	2015-09-11 21:27:12 UTC (rev 34229)
@@ -0,0 +1 @@
+python35-compat.patch




More information about the Python-modules-commits mailing list