void-packages/srcpkgs/python-Cheroot/patches/fix-setup.py.patch

21 lines
526 B
Diff

--- setup.py.orig
+++ setup.py
@@ -43,7 +43,7 @@
),
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
install_requires=[
- 'backports.functools_lru_cache',
+ 'backports.functools_lru_cache;python_version<"3.4"',
'six>=1.11.0',
'more_itertools>=2.6',
],
@@ -70,7 +70,7 @@
'codecov',
'pytest-cov',
- 'backports.unittest_mock',
+ 'backports.unittest_mock;python_version<"3.4"',
],
},
setup_requires=[