[Python-modules-commits] r34004 - in packages/mako/trunk/debian (5 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Wed Aug 26 15:16:58 UTC 2015
Date: Wednesday, August 26, 2015 @ 15:16:57
Author: barry
Revision: 34004
* Team upload.
* New upstream release.
* debian/control:
- Add python3-funcsigs to Build-Depends-Indep.
* debian/patches/python35-compat.patch: Upstream provided patch to
fix compatibility issues with Python 3.5.
Added:
packages/mako/trunk/debian/patches/
packages/mako/trunk/debian/patches/python35-compat.patch
packages/mako/trunk/debian/patches/series
Modified:
packages/mako/trunk/debian/changelog
packages/mako/trunk/debian/control
Modified: packages/mako/trunk/debian/changelog
===================================================================
--- packages/mako/trunk/debian/changelog 2015-08-26 06:23:27 UTC (rev 34003)
+++ packages/mako/trunk/debian/changelog 2015-08-26 15:16:57 UTC (rev 34004)
@@ -1,3 +1,14 @@
+mako (1.0.1-1) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * debian/control:
+ - Add python3-funcsigs to Build-Depends-Indep.
+ * debian/patches/python35-compat.patch: Upstream provided patch to
+ fix compatibility issues with Python 3.5.
+
+ -- Barry Warsaw <barry at debian.org> Tue, 25 Aug 2015 16:23:14 -0400
+
mako (1.0.0-1) unstable; urgency=medium
* New upstream release
Modified: packages/mako/trunk/debian/control
===================================================================
--- packages/mako/trunk/debian/control 2015-08-26 06:23:27 UTC (rev 34003)
+++ packages/mako/trunk/debian/control 2015-08-26 15:16:57 UTC (rev 34004)
@@ -10,7 +10,7 @@
python-sphinx, python-changelog, python-sphinx-paramlinks,
# for tests:
python-nose, python-markupsafe, python-mock,
- python3-nose, python3-markupsafe, python3-mock
+ python3-nose, python3-markupsafe, python3-mock, python3-funcsigs
Standards-Version: 3.9.5
Homepage: http://www.makotemplates.org/
X-Python-Version: >= 2.4
Added: packages/mako/trunk/debian/patches/python35-compat.patch
===================================================================
--- packages/mako/trunk/debian/patches/python35-compat.patch (rev 0)
+++ packages/mako/trunk/debian/patches/python35-compat.patch 2015-08-26 15:16:57 UTC (rev 34004)
@@ -0,0 +1,34 @@
+Subject: Python 3.5 compatibility.
+Origin: https://bitbucket.org/zzzeek/mako/issues/250/mako-101-is-incompatible-with-python-35
+Forwarded: not-needed
+
+--- a/mako/_ast_util.py
++++ b/mako/_ast_util.py
+@@ -481,11 +481,11 @@
+ paren_or_comma()
+ self.write(keyword.arg + '=')
+ self.visit(keyword.value)
+- if node.starargs is not None:
++ if getattr(node, "starargs", None):
+ paren_or_comma()
+ self.write('*')
+ self.visit(node.starargs)
+- if node.kwargs is not None:
++ if getattr(node, "kwargs", None):
+ paren_or_comma()
+ self.write('**')
+ self.visit(node.kwargs)
+@@ -646,11 +646,11 @@
+ write_comma()
+ self.write(keyword.arg + '=')
+ self.visit(keyword.value)
+- if node.starargs is not None:
++ if getattr(node, "starargs", None):
+ write_comma()
+ self.write('*')
+ self.visit(node.starargs)
+- if node.kwargs is not None:
++ if getattr(node, "kwargs", None):
+ write_comma()
+ self.write('**')
+ self.visit(node.kwargs)
Added: packages/mako/trunk/debian/patches/series
===================================================================
--- packages/mako/trunk/debian/patches/series (rev 0)
+++ packages/mako/trunk/debian/patches/series 2015-08-26 15:16:57 UTC (rev 34004)
@@ -0,0 +1 @@
+python35-compat.patch
More information about the Python-modules-commits
mailing list