[pyferret] 90/110: Ensure xrange is available in datamethods.py (py3 crash)

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:16 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository pyferret.

commit 61162c1c1852ed030fb6f9d2977c467fbe2fc502
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon May 29 14:06:56 2017 +0100

    Ensure xrange is available in datamethods.py (py3 crash)
---
 debian/changelog             | 6 ++++++
 debian/patches/python3.patch | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b09b769..79ee0a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pyferret (7.0.0-4) UNRELEASED; urgency=medium
+
+  * Ensure xrange is available in datamethods.py (py3 crash)
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 29 May 2017 14:06:26 +0100
+
 pyferret (7.0.0-3) unstable; urgency=medium
 
   * Move to DH_COMPAT=10
diff --git a/debian/patches/python3.patch b/debian/patches/python3.patch
index 862ea9e..f0d3151 100644
--- a/debian/patches/python3.patch
+++ b/debian/patches/python3.patch
@@ -4469,8 +4469,11 @@ Index: pyferret-7.0.0/pyfermod/datamethods.py
 ===================================================================
 --- pyferret-7.0.0.orig/pyfermod/datamethods.py
 +++ pyferret-7.0.0/pyfermod/datamethods.py
-@@ -5,9 +5,13 @@ and Python.
+@@ -3,11 +3,16 @@ Methods in pyferret for transferring dat
+ and Python.
+ """
  
++from past.builtins import xrange
  import numpy
  import numpy.ma
 -import StringIO

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



More information about the debian-science-commits mailing list