python-Cheroot: restore patch to fix depends for python3 flavor
This commit is contained in:
parent
b20b5f8f58
commit
28a7b7cd42
|
@ -0,0 +1,21 @@
|
|||
--- 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',
|
||||
],
|
||||
@@ -78,7 +78,7 @@
|
||||
'codecov',
|
||||
|
||||
'pytest-cov',
|
||||
- 'backports.unittest_mock',
|
||||
+ 'backports.unittest_mock;python_version<"3.4"',
|
||||
|
||||
# TLS
|
||||
'trustme>=0.4.0',
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-Cheroot'
|
||||
pkgname=python-Cheroot
|
||||
version=6.5.2
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="cheroot-${version}"
|
||||
build_style=python-module
|
||||
|
|
Loading…
Reference in New Issue