pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-hash py-hash: fix build with latest setuptools
details: https://anonhg.NetBSD.org/pkgsrc/rev/310414675903
branches: trunk
changeset: 771285:310414675903
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Dec 16 13:42:20 2021 +0000
description:
py-hash: fix build with latest setuptools
diffstat:
devel/py-hash/distinfo | 4 ++--
devel/py-hash/patches/patch-setup.py | 11 ++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 57388b264c42 -r 310414675903 devel/py-hash/distinfo
--- a/devel/py-hash/distinfo Thu Dec 16 13:27:36 2021 +0000
+++ b/devel/py-hash/distinfo Thu Dec 16 13:42:20 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:18:32 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/12/16 13:42:20 wiz Exp $
BLAKE2s (pyfasthash-0.6.2.tar.gz) = ef4f30e7d76b94f35bf2c81e2b731da18825d40053bf776b104be411ba3eb35d
SHA512 (pyfasthash-0.6.2.tar.gz) = 1820a56f27dd58d1aff4657230b1e5c9b276d64fc1573ad5c14612efd92d584070f12414a9e4fd9929eb61e054a6d65dc6ce1f25457431eaf736c38ecb6fc9be
Size (pyfasthash-0.6.2.tar.gz) = 197576 bytes
SHA1 (patch-pyhash.py) = 6e9428959693b72c8efe50ed272b8c1610a682c5
-SHA1 (patch-setup.py) = ec7181e8027470634e9b6aa4d6d141ee77ffb74e
+SHA1 (patch-setup.py) = 6bb30611ea9324dcde44661b15ac3243b3a630ff
SHA1 (patch-src_fnv_fnv.h) = c942d2bb434ffdc99a6110781bf66e5cb878a889
SHA1 (patch-src_lookup3_lookup3.c) = 85e5be79ddf7050af7e98858610323accdaba453
diff -r 57388b264c42 -r 310414675903 devel/py-hash/patches/patch-setup.py
--- a/devel/py-hash/patches/patch-setup.py Thu Dec 16 13:27:36 2021 +0000
+++ b/devel/py-hash/patches/patch-setup.py Thu Dec 16 13:42:20 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-setup.py,v 1.3 2018/06/30 19:01:52 fhajny Exp $
+$NetBSD: patch-setup.py,v 1.4 2021/12/16 13:42:20 wiz Exp $
print is a function in Python 3.
+Fix compatibility with latest setuptools.
+
--- setup.py.orig 2014-07-29 06:26:59.000000000 +0000
+++ setup.py
@@ -3,6 +3,7 @@
@@ -34,3 +36,10 @@
os.remove('/usr/lib/libboost_python.so')
os.symlink('/usr/lib/libboost_python-py%d%d.so' % (sys.version_info.major, sys.version_info.minor),
+@@ -108,5 +111,4 @@ setup(name='pyhash',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Topic :: Utilities'
+ ],
+- test_suite='pyhash',
+- use_2to3=True)
++ test_suite='pyhash')
Home |
Main Index |
Thread Index |
Old Index