summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-tornado/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-tornado/package.py b/var/spack/repos/builtin/packages/py-tornado/package.py
index 5373185e0e..666d2a0a02 100644
--- a/var/spack/repos/builtin/packages/py-tornado/package.py
+++ b/var/spack/repos/builtin/packages/py-tornado/package.py
@@ -10,13 +10,15 @@ class PyTornado(PythonPackage):
"""Tornado is a Python web framework and asynchronous networking
library."""
homepage = "https://github.com/tornadoweb/tornado"
- url = "https://github.com/tornadoweb/tornado/archive/v4.4.0.tar.gz"
+ url = "https://github.com/tornadoweb/tornado/archive/v6.0.3.tar.gz"
+ version('6.0.3', sha256='a97ac3b8c95867e534b48cb6fbbf156f5ca5b20c423bb06894c17b240d7a18fc')
version('4.4.0', 'c28675e944f364ee96dda3a8d2527a87ed28cfa3')
depends_on('py-setuptools', type='build')
# requirements from setup.py
+ depends_on('python@3.5:', when='@6:', type=('build', 'run'))
depends_on('py-backports-ssl-match-hostname', when='^python@:2.7.8', type=('build', 'run'))
depends_on('py-singledispatch', when='^python@:3.3', type=('build', 'run'))
depends_on('py-certifi', when='^python@:3.3', type=('build', 'run'))