diff --git a/srcpkgs/python-Cheroot/patches/fix-setup.py.patch b/srcpkgs/python-Cheroot/patches/fix-setup.py.patch new file mode 100644 index 00000000000..0aa3a5bb735 --- /dev/null +++ b/srcpkgs/python-Cheroot/patches/fix-setup.py.patch @@ -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', + diff --git a/srcpkgs/python-Cheroot/template b/srcpkgs/python-Cheroot/template index 97d31abeff6..965bb24a8dc 100644 --- a/srcpkgs/python-Cheroot/template +++ b/srcpkgs/python-Cheroot/template @@ -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