diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-03-25 21:32:03 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-03-25 21:38:05 +0800 |
commit | d1c57dce0427eb029e2776f94ab78fd1efb2c94a (patch) | |
tree | 6ed168fbc93432f72c9f87ac35e8bc3593dc7dd9 | |
parent | biology/py-crossmap: Fix build with setuptools 58.0.0+ (diff) |
biology/python-nexus: Fix build with setuptools 58.0.0+
With hat: python
-rw-r--r-- | biology/python-nexus/files/patch-2to3 | 19 |
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() |