pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-tryton Don't use set literal syntax not suppo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cdc350de97c6
branches: trunk
changeset: 635450:cdc350de97c6
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jun 06 12:48:00 2014 +0000
description:
Don't use set literal syntax not supported by Python 2.6.
diffstat:
devel/py-tryton/distinfo | 3 +-
devel/py-tryton/patches/patch-tryton_gui_window_view__form_view_form__gtk_multiselection.py | 18 ++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 23c33f119fe5 -r cdc350de97c6 devel/py-tryton/distinfo
--- a/devel/py-tryton/distinfo Fri Jun 06 12:35:22 2014 +0000
+++ b/devel/py-tryton/distinfo Fri Jun 06 12:48:00 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2014/05/18 15:08:33 rodent Exp $
+$NetBSD: distinfo,v 1.4 2014/06/06 12:48:00 joerg Exp $
SHA1 (tryton-3.2.1.tar.gz) = e97455fbac90c08d664a652b31e73a8f251be62b
RMD160 (tryton-3.2.1.tar.gz) = 890e8c08d6692996883135b5c0f5a36703a4ccd7
Size (tryton-3.2.1.tar.gz) = 808894 bytes
+SHA1 (patch-tryton_gui_window_view__form_view_form__gtk_multiselection.py) = 5a6f2fdf6bcdef39201e516959b4b40ed58d68bd
diff -r 23c33f119fe5 -r cdc350de97c6 devel/py-tryton/patches/patch-tryton_gui_window_view__form_view_form__gtk_multiselection.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-tryton/patches/patch-tryton_gui_window_view__form_view_form__gtk_multiselection.py Fri Jun 06 12:48:00 2014 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-tryton_gui_window_view__form_view_form__gtk_multiselection.py,v 1.1 2014/06/06 12:48:00 joerg Exp $
+
+--- tryton/gui/window/view_form/view/form_gtk/multiselection.py.orig 2014-06-06 12:01:50.000000000 +0000
++++ tryton/gui/window/view_form/view/form_gtk/multiselection.py
+@@ -6,11 +6,11 @@ import gobject
+ from .interface import WidgetInterface
+ from tryton.common.selection import SelectionMixin
+
+-MOVEMENT_KEYS = {gtk.keysyms.Up, gtk.keysyms.Down, gtk.keysyms.space,
++MOVEMENT_KEYS = set((gtk.keysyms.Up, gtk.keysyms.Down, gtk.keysyms.space,
+ gtk.keysyms.Left, gtk.keysyms.KP_Left,
+ gtk.keysyms.Right, gtk.keysyms.KP_Right,
+ gtk.keysyms.Home, gtk.keysyms.KP_Home,
+- gtk.keysyms.End, gtk.keysyms.KP_End}
++ gtk.keysyms.End, gtk.keysyms.KP_End))
+
+
+ class MultiSelection(WidgetInterface, SelectionMixin):
Home |
Main Index |
Thread Index |
Old Index