From 01ca429c9ac75f21304c9a3e5700a08dd4bf64cb Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 9 Jul 2021 12:57:45 +0200 Subject: [PATCH] py-tornado: add v6.1 (#24753) --- .../builtin/packages/py-tornado/package.py | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-tornado/package.py b/var/spack/repos/builtin/packages/py-tornado/package.py index b6ac7cfc63..8a82739250 100644 --- a/var/spack/repos/builtin/packages/py-tornado/package.py +++ b/var/spack/repos/builtin/packages/py-tornado/package.py @@ -9,20 +9,21 @@ 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/v6.0.3.tar.gz" - version('6.0.3', sha256='a97ac3b8c95867e534b48cb6fbbf156f5ca5b20c423bb06894c17b240d7a18fc') - version('5.1.1', sha256='a1da335a2978b9a8c3544cab10076d799442d7988ed0b4f2be035fe4388ca8dd') - version('4.4.0', sha256='ae556a0848e5d428d00597a18b38b9ca9d20f4600535e1dd33b3a576ab234194') + homepage = "https://github.com/tornadoweb/tornado" + pypi = "tornado/tornado-6.1.tar.gz" + + version('6.1', sha256='33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791') + version('6.0.3', sha256='c845db36ba616912074c5b1ee897f8e0124df269468f25e4fe21fe72f6edd7a9') + version('5.1.1', sha256='4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409') + version('4.4', sha256='3176545b6cb2966870db4def4f646da6ab7a0c19400576969c57279a7561ab02') depends_on('py-setuptools', type='build') - # requirements from setup.py - depends_on('python@3.5:', when='@6:', type=('build', 'run')) + depends_on('python@3.5.2:', when='@6:', type=('build', 'run')) depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) depends_on('py-backports-ssl-match-hostname', when='@:4 ^python@:2.7.8', type=('build', 'run')) - depends_on('py-singledispatch', when='^python@:3.3', type=('build', 'run')) + depends_on('py-singledispatch', when='@:5.99 ^python@:3.3', type=('build', 'run')) depends_on('py-certifi', when='@:4 ^python@:3.3', type=('build', 'run')) - depends_on('py-backports-abc@0.4:', when='^python@:3.4', type=('build', 'run')) - depends_on('py-futures', when='@5: ^python@:3.1', type=('build', 'run')) + depends_on('py-backports-abc@0.4:5.99', when='^python@:3.4', type=('build', 'run')) + depends_on('py-futures', when='@5:5.99 ^python@:3.1', type=('build', 'run'))