Added new versions to py-tornado (#13080)

* Added new versions to py-tornado

* Removed all but the latest new version
This commit is contained in:
wspear 2019-10-10 07:06:01 -07:00 committed by Adam J. Stewart
parent e69efded32
commit a042a7e91e

View File

@ -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'))