void-packages/srcpkgs/python-tornado/patches/0002-no-backports.ssl_match...

12 lines
484 B
Diff

--- setup.py.orig
+++ setup.py
@@ -121,7 +121,7 @@ def build_extension(self, ext):
if sys.version_info < (2, 7):
# Only needed indirectly, for singledispatch.
install_requires.append('ordereddict')
- if sys.version_info < (3, 2):
+ if sys.version_info < (2, 7, 9) or (3, 0) <= sys.version_info < (3, 2):
install_requires.append('backports.ssl_match_hostname')
if sys.version_info < (3, 4):
install_requires.append('singledispatch')