void-packages/srcpkgs/python-tornado/patches/02_no-backports.ssl-match-hostname.patch
Alessio Sergi 837ed63b70 Revert "python-tornado: update to 4.3."
This reverts commit e5529b8dbe.

This commit is dedicated to committers who just update packages for the
sake of it and clearly don't know what they're doing.

Often packages are out-of-date for a reason. If don't know the reason,
please do *not* touch them.

Also, this commit is wrong on so many levels and thus the package broken.
Good job!
2016-03-27 10:08:39 +02:00

14 lines
499 B
Diff

diff --git setup.py setup.py
index f09169f..f795807 100644
--- setup.py
+++ setup.py
@@ -121,7 +121,7 @@ def build_extension(self, ext):
if setuptools is not None:
# If setuptools is not available, you're on your own for dependencies.
install_requires = []
- 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')
kwargs['install_requires'] = install_requires