[jpy] 08/13: Add patch for python3

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Jun 21 08:15:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch master
in repository jpy.

commit 7901b7e378fea434265804e4bcb99b193780883e
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sun Apr 3 23:44:40 2016 +0100

    Add patch for python3
---
 debian/patches/python3.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/debian/patches/python3.patch b/debian/patches/python3.patch
new file mode 100644
index 0000000..5d96840
--- /dev/null
+++ b/debian/patches/python3.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Minor 2to3 fixes for python3 package
+Last-Updated: 2016-03-31
+Forwarded: no
+
+Index: python-jpy-0.8/jpyutil.py
+===================================================================
+--- python-jpy-0.8.orig/jpyutil.py
++++ python-jpy-0.8/jpyutil.py
+@@ -435,7 +435,7 @@ class Config:
+ class Properties:
+     def __init__(self, values=None):
+         if values:
+-            self.keys = values.keys()
++            self.keys = list(values.keys())
+             self.values = values.copy()
+         else:
+             self.keys = []

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/jpy.git



More information about the debian-science-commits mailing list