aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 13:32:03 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 13:38:05 +0000
commitd1c57dce0427eb029e2776f94ab78fd1efb2c94a (patch)
tree6ed168fbc93432f72c9f87ac35e8bc3593dc7dd9 /biology
parent0ffe3e7936844995675cbddb450a11aa59aa8393 (diff)
downloadports-d1c57dce0427eb029e2776f94ab78fd1efb2c94a.tar.gz
ports-d1c57dce0427eb029e2776f94ab78fd1efb2c94a.zip
biology/python-nexus: Fix build with setuptools 58.0.0+
With hat: python
Diffstat (limited to 'biology')
-rw-r--r--biology/python-nexus/files/patch-2to319
1 files changed, 19 insertions, 0 deletions
diff --git a/biology/python-nexus/files/patch-2to3 b/biology/python-nexus/files/patch-2to3
new file mode 100644
index 000000000000..07cc1ef4371c
--- /dev/null
+++ b/biology/python-nexus/files/patch-2to3
@@ -0,0 +1,19 @@
+--- nexus/bin/nexuscheck.py.orig 2018-04-10 09:11:00 UTC
++++ nexus/bin/nexuscheck.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env python
+ import warnings
+-from __future__ import print_function
++
+ from nexus import NexusReader, VERSION
+ from nexus.checker import checkers
+
+@@ -44,7 +44,7 @@ if __name__ == '__main__':
+ if len(warned):
+ print("Warnings encountered in reading nexus:")
+ for w in warned:
+- print("\t%s" % w)
++ print(("\t%s" % w))
+
+ for checker in checkers:
+ checker(nex, verbose=args.verbose).status()