summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-04-10 03:50:21 +0000
committerMike Gilbert <floppym@gentoo.org>2012-04-10 03:50:21 +0000
commit6bdf8a84a7fe9b6a800196edbea2aa0973b68928 (patch)
tree8447d2354718dccf729f15bf80cd6084beb9b56f /app-editors/leo
parentversion bump (diff)
downloadgentoo-2-6bdf8a84a7fe9b6a800196edbea2aa0973b68928.tar.gz
gentoo-2-6bdf8a84a7fe9b6a800196edbea2aa0973b68928.tar.bz2
gentoo-2-6bdf8a84a7fe9b6a800196edbea2aa0973b68928.zip
Add missing patch.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/leo')
-rw-r--r--app-editors/leo/ChangeLog6
-rw-r--r--app-editors/leo/files/leo-4.10-fix_syntax_errors.patch22
2 files changed, 27 insertions, 1 deletions
diff --git a/app-editors/leo/ChangeLog b/app-editors/leo/ChangeLog
index 61702708091b..68102fcd55b8 100644
--- a/app-editors/leo/ChangeLog
+++ b/app-editors/leo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/leo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/leo/ChangeLog,v 1.24 2012/04/08 19:31:17 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/leo/ChangeLog,v 1.25 2012/04/10 03:50:21 floppym Exp $
+
+ 10 Apr 2012; Mike Gilbert <floppym@gentoo.org>
+ +files/leo-4.10-fix_syntax_errors.patch, leo-4.10.ebuild:
+ Add missing patch.
*leo-4.10 (08 Apr 2012)
diff --git a/app-editors/leo/files/leo-4.10-fix_syntax_errors.patch b/app-editors/leo/files/leo-4.10-fix_syntax_errors.patch
new file mode 100644
index 000000000000..e1419239080c
--- /dev/null
+++ b/app-editors/leo/files/leo-4.10-fix_syntax_errors.patch
@@ -0,0 +1,22 @@
+--- leo/external/edb.py
++++ leo/external/edb.py
+@@ -74,6 +74,8 @@
+
+ """
+
++from __future__ import print_function
++
+ # NOTE: the actual command documentation is collected from docstrings of the
+ # commands and is appended to __doc__ after the class has been defined.
+ #@-<< docstring >>
+--- leo/scripts/gen_blender_docs.py
++++ leo/scripts/gen_blender_docs.py
+@@ -857,7 +857,7 @@
+ py_descr2predef(_IDENT, fw, descr, module_name, type_name, key)
+
+ for key, descr in descr_items:
+- if type(descr) in {types.FunctionType, types.MethodType}:
++ if type(descr) in (types.FunctionType, types.MethodType):
+ pyfunc2predef(_IDENT, fw, key, descr)
+
+ for key, descr in descr_items: