pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-mox Don't fail Py 3.x build for obvious synta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb13a36897b1
branches:  trunk
changeset: 377950:fb13a36897b1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 24 17:10:07 2018 +0000

description:
Don't fail Py 3.x build for obvious syntax reasons.

diffstat:

 devel/py-mox/distinfo             |   3 ++-
 devel/py-mox/patches/patch-mox.py |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 4dd70dabacdb -r fb13a36897b1 devel/py-mox/distinfo
--- a/devel/py-mox/distinfo     Sat Mar 24 17:09:33 2018 +0000
+++ b/devel/py-mox/distinfo     Sat Mar 24 17:10:07 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/02/03 14:59:20 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2018/03/24 17:10:07 joerg Exp $
 
 SHA1 (mox-0.5.3.tar.gz) = 1c502d2c0a8aefbba2c7f385a83d33e7d822452a
 RMD160 (mox-0.5.3.tar.gz) = 81ecdb84b09e54019d905be736f178adc22ca87f
 SHA512 (mox-0.5.3.tar.gz) = 4e6c0799c1cf516e851613f4b575af87335e1d9660f27bf4faf71d8fbeee27d39b7cded7c7235acb0cab25aabff96c454f55768ce8ac1bbba0f1ed19552ecdd6
 Size (mox-0.5.3.tar.gz) = 32397 bytes
+SHA1 (patch-mox.py) = d26cf5a1cd07c04e55d01a11822f3adedeb3063a
diff -r 4dd70dabacdb -r fb13a36897b1 devel/py-mox/patches/patch-mox.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-mox/patches/patch-mox.py Sat Mar 24 17:10:07 2018 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mox.py,v 1.1 2018/03/24 17:10:07 joerg Exp $
+
+--- mox.py.orig        2018-03-24 14:35:50.526907676 +0000
++++ mox.py
+@@ -1229,7 +1229,7 @@ class Comparator:
+       rhs: any python object
+     """
+ 
+-    raise NotImplementedError, 'method must be implemented by a subclass.'
++    raise NotImplementedError('method must be implemented by a subclass.')
+ 
+   def __eq__(self, rhs):
+     return self.equals(rhs)



Home | Main Index | Thread Index | Old Index