git: ed99bf72da58 - main - x11/py-pyvirtualdisplay: Fix build with setuptools 58.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:25:33 UTC
The branch main has been updated by sunpoet:

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

commit ed99bf72da584a055018b0351fc3e34a97e23f64
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 04:15:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:54 +0000

    x11/py-pyvirtualdisplay: Fix build with setuptools 58.0.0+
    
    With hat:       python
---
 x11/py-pyvirtualdisplay/files/patch-setup.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/x11/py-pyvirtualdisplay/files/patch-setup.py b/x11/py-pyvirtualdisplay/files/patch-setup.py
new file mode 100644
index 000000000000..2201e5ed5cef
--- /dev/null
+++ b/x11/py-pyvirtualdisplay/files/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig	2019-06-23 16:14:24 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