mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
x11/py-pyscreenshot: Fix build with setuptools 58.0.0+
With hat: python
This commit is contained in:
parent
2111cfd73e
commit
cc5569061a
1 changed files with 12 additions and 0 deletions
12
x11/py-pyscreenshot/files/patch-setup.py
Normal file
12
x11/py-pyscreenshot/files/patch-setup.py
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue