Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2022 13:49:40 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d1c57dce0427 - main - biology/python-nexus: Fix build with setuptools 58.0.0+
Message-ID:  <202203251349.22PDneao027632@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d1c57dce0427eb029e2776f94ab78fd1efb2c94a

commit d1c57dce0427eb029e2776f94ab78fd1efb2c94a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:32:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:05 +0000

    biology/python-nexus: Fix build with setuptools 58.0.0+
    
    With hat:       python
---
 biology/python-nexus/files/patch-2to3 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251349.22PDneao027632>