Skip to content

Commit d5ed437

Browse files
committed
Correct explicit requirements for py-tornado
Looking at the setup.py file for py-tornado, I've corrected a few of it's dependencies with precise version numbers
1 parent 89db7bd commit d5ed437

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

  • var/spack/repos/builtin/packages/py-tornado

var/spack/repos/builtin/packages/py-tornado/package.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,15 @@ class PyTornado(Package):
4040
variant('twisted', default=True, description="for tornado.platform.twisted")
4141

4242
extends('python')
43+
4344
depends_on('py-setuptools', type='build')
44-
depends_on('py-certifi')
45-
depends_on('py-backports-abc', when='^python@:2')
46-
depends_on('py-singledispatch', when='^python@:2')
45+
46+
# requirements from setup.py
47+
depends_on('py-backports-ssl-match-hostname', when='^python@:2.7.8')
48+
depends_on('py-singledispatch', when='^python@:3.3')
49+
depends_on('py-certifi', when='^python@:3.3')
50+
depends_on('py-backports-abc@0.4:', when='^python@:3.4')
51+
4752
depends_on('py-futures', when='+futures^python@:2')
4853
depends_on('py-monotonic', when='+monotonic^python@:2')
4954
depends_on('py-pycurl', when='+curl')

0 commit comments

Comments
 (0)