summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-h2/package.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-h2/package.py b/var/spack/repos/builtin/packages/py-h2/package.py
index e005fb2459..80ec858786 100644
--- a/var/spack/repos/builtin/packages/py-h2/package.py
+++ b/var/spack/repos/builtin/packages/py-h2/package.py
@@ -12,9 +12,14 @@ class PyH2(PythonPackage):
homepage = "https://github.com/python-hyper/hyper-h2"
pypi = "h2/h2-4.0.0.tar.gz"
+ version('4.1.0', sha256='a83aca08fbe7aacb79fec788c9c0bac936343560ed9ec18b82a13a12c28d2abb')
version('4.0.0', sha256='bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d')
+ version('3.2.0', sha256='875f41ebd6f2c44781259005b157faed1a5031df3ae5aa7bcb4628a6c0782f14')
- depends_on('py-setuptools', type='build')
- depends_on('py-wheel', type='build')
- depends_on('py-hyperframe')
- depends_on('py-hpack')
+ depends_on('python@3.6.1:', type=('build', 'run'), when='@4.0.0:')
+ depends_on('py-setuptools', type='build')
+ depends_on('py-hyperframe@5.2:5', type=('build', 'run'), when='@3.2.0')
+ depends_on('py-hyperframe@6.0:6', type=('build', 'run'), when='@4.0.0:')
+ depends_on('py-hpack@3.0:3', type=('build', 'run'), when='@3.2.0')
+ depends_on('py-hpack@4.0:4', type=('build', 'run'), when='@4.0.0:')
+ depends_on('py-enum34@1.1.6:1', type=('build', 'run'), when='@3.2.0^python@2.7.0:2.7')