freebsd-ports/textproc/scancode-toolkit/files/patch-setup.py
Kai Knoblich 176f41a6f7 textproc/scancode-toolkit: Unbreak at runtime after r505457
* Relax the version requirements for devel/py-attrs
* Do the same for devel/py-typing that was updated to 3.7 recently
* Bump PORTREVISION due changed package contents

MFH:		2019Q3 (blanket: runtime fix)
2019-08-10 19:47:45 +00:00

53 lines
1.5 KiB
Python

--- setup.py.orig 2019-02-15 14:34:52 UTC
+++ setup.py
@@ -125,9 +125,7 @@ setup(
# cluecode
# Some nltk version ranges are buggy
'nltk >= 3.2, < 4.0',
- 'publicsuffix2',
- 'py2-ipaddress >= 2.0, <3.5',
- 'url >= 0.1.4, < 0.1.6',
+ 'url >= 0.1.4',
'fingerprints == 0.5.4',
# extractcode
@@ -135,15 +133,13 @@ setup(
# to work around bug http://bugs.python.org/issue19839
# on multistream bzip2 files: this can removed in Python 3.
'bz2file >= 0.98',
- 'extractcode-libarchive',
- 'extractcode-7z',
# commoncode
'backports.os == 0.1.1',
- 'future == 0.16.0',
+ 'future >= 0.16.0',
'text-unidecode >= 1.0, < 2.0',
# required by saneyaml
- 'PyYAML >= 3.11, <=3.13',
+ 'PyYAML >= 3.11',
'saneyaml',
# licensedcode
@@ -167,8 +163,7 @@ setup(
'binaryornot >= 0.4.0',
'chardet >= 3.0.0, <4.0.0',
# note that we use a short version range because we use a simpler lexer list
- 'pygments >= 2.2.0, <2.3',
- 'typecode-libmagic',
+ 'pygments >= 2.2.0',
# packagedcode
'pefile >= 2018.8.8',
@@ -182,9 +177,8 @@ setup(
'click >= 6.0.0, < 7.0.0',
'colorama >= 0.3.9',
'pluggy >= 0.4.0, < 1.0',
- 'attrs >=17.4, < 19.0',
- 'cattrs',
- 'typing >=3.6, < 3.7',
+ 'attrs >=17.4',
+ 'typing >=3.6',
# scancode outputs
'jinja2 >= 2.7.0, < 3.0.0',