git: cc5569061a3e - main - x11/py-pyscreenshot: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:51:21 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cc5569061a3e47df69bed31b4f6a2bed56d68103
commit cc5569061a3e47df69bed31b4f6a2bed56d68103
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:35:28 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:26 +0000
x11/py-pyscreenshot: Fix build with setuptools 58.0.0+
With hat: python
---
x11/py-pyscreenshot/files/patch-setup.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/x11/py-pyscreenshot/files/patch-setup.py b/x11/py-pyscreenshot/files/patch-setup.py
new file mode 100644
index 000000000000..54ba48fed9f7
--- /dev/null
+++ b/x11/py-pyscreenshot/files/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig 2018-11-01 17:14:50 UTC
++++ setup.py
+@@ -23,9 +23,6 @@ exec(open(os.path.join(NAME, 'about.py')).read())
+ VERSION = __version__
+
+ extra = {}
+-if sys.version_info >= (3,):
+- extra['use_2to3'] = True
+- extra['use_2to3_exclude_fixers'] = ['lib2to3.fixes.fix_import']
+
+ classifiers = [
+ # Get more strings from