python-tornado: update to 4.4.1
This commit is contained in:
parent
76ea49ec73
commit
60dd976ee7
3 changed files with 6 additions and 38 deletions
|
@ -1,32 +1,11 @@
|
||||||
--- setup.py.orig
|
--- setup.py.orig
|
||||||
+++ setup.py
|
+++ setup.py
|
||||||
@@ -120,7 +120,7 @@ if (platform.python_implementation() == 'CPython' and
|
@@ -136,7 +136,7 @@ if setuptools is not None:
|
||||||
# Certifi is also optional on 2.7.9+, although making our dependencies
|
# Certifi is also optional on 2.7.9+, although making our dependencies
|
||||||
# conditional on micro version numbers seems like a bad idea
|
# conditional on micro version numbers seems like a bad idea
|
||||||
# until we have more declarative metadata.
|
# until we have more declarative metadata.
|
||||||
- install_requires.append('certifi')
|
- install_requires.append('certifi')
|
||||||
+ pass
|
+ # install_requires.append('certifi')
|
||||||
if sys.version_info < (3, 5):
|
if sys.version_info < (3, 5):
|
||||||
install_requires.append('backports_abc>=0.4')
|
install_requires.append('backports_abc>=0.4')
|
||||||
kwargs['install_requires'] = install_requires
|
kwargs['install_requires'] = install_requires
|
||||||
--- tornado/simple_httpclient.py.orig
|
|
||||||
+++ tornado/simple_httpclient.py
|
|
||||||
@@ -33,17 +33,9 @@ except ImportError:
|
|
||||||
# ssl is not available on Google App Engine.
|
|
||||||
ssl = None
|
|
||||||
|
|
||||||
-try:
|
|
||||||
- import certifi
|
|
||||||
-except ImportError:
|
|
||||||
- certifi = None
|
|
||||||
-
|
|
||||||
|
|
||||||
def _default_ca_certs():
|
|
||||||
- if certifi is None:
|
|
||||||
- raise Exception("The 'certifi' package is required to use https "
|
|
||||||
- "in simple_httpclient")
|
|
||||||
- return certifi.where()
|
|
||||||
+ return "/etc/ssl/certs/ca-certificates.crt"
|
|
||||||
|
|
||||||
|
|
||||||
class SimpleAsyncHTTPClient(AsyncHTTPClient):
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- 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')
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-tornado'
|
# Template file for 'python-tornado'
|
||||||
pkgname=python-tornado
|
pkgname=python-tornado
|
||||||
version=4.3
|
version=4.4.1
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="tornado-${version}"
|
wrksrc="tornado-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
|
@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://www.tornadoweb.org/"
|
homepage="http://www.tornadoweb.org/"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
|
||||||
checksum=c9c2d32593d16eedf2cec1b6a41893626a2649b40b21ca9c4cac4243bde2efbf
|
checksum=371d0cf3d56c47accc66116a77ad558d76eebaa8458a6b677af71ca606522146
|
||||||
|
|
||||||
python3.4-tornado_package() {
|
python3.4-tornado_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue