git: 17ffca1b5ce0 - main - devel/py-z3c.autoinclude: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:50:18 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=17ffca1b5ce095d4b1e2065a387d05ffe31d5e28
commit 17ffca1b5ce095d4b1e2065a387d05ffe31d5e28
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:32:27 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:13 +0000
devel/py-z3c.autoinclude: Fix build with setuptools 58.0.0+
With hat: python
---
devel/py-z3c.autoinclude/files/patch-2to3 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/devel/py-z3c.autoinclude/files/patch-2to3 b/devel/py-z3c.autoinclude/files/patch-2to3
new file mode 100644
index 000000000000..6f00467ae26f
--- /dev/null
+++ b/devel/py-z3c.autoinclude/files/patch-2to3
@@ -0,0 +1,11 @@
+--- src/z3c/autoinclude/dependency.py.orig 2016-01-29 12:30:33 UTC
++++ src/z3c/autoinclude/dependency.py
+@@ -24,7 +24,7 @@ class DependencyFinder(DistributionManager):
+ for dotted_name in dist_manager.dottedNames():
+ try:
+ module = resolve(dotted_name)
+- except ImportError, exc:
++ except ImportError as exc:
+ logging.getLogger("z3c.autoinclude").warn(
+ "resolve(%r) raised import error: %s" % (dotted_name, exc))
+ continue