diff options
author | Jen Herting <jen@herting.cc> | 2022-05-23 20:56:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 17:56:45 -0700 |
commit | 036048c26fc1dabee8b361b030cbc83f9916ac8f (patch) | |
tree | ed75809ee6fb6ca8e77bebd2038ad83d1f6010a4 | |
parent | 8616ba04db4fe867b25cc0f07d8c7736ba48eed6 (diff) | |
download | spack-036048c26fc1dabee8b361b030cbc83f9916ac8f.tar.gz spack-036048c26fc1dabee8b361b030cbc83f9916ac8f.tar.bz2 spack-036048c26fc1dabee8b361b030cbc83f9916ac8f.tar.xz spack-036048c26fc1dabee8b361b030cbc83f9916ac8f.zip |
[py-h2] added version 3.2.0 and 4.1.0 (#29804)
* [py-h2] py-wheel is implied by PythonPackage
* [py-h2] python dependencies should be type=('build', 'run')
* [py-h2] fixed dependencies for py-h2@4.0.0
* [py-h2] added version 3.2.0
* [py-h2] added version 4.1.0
* [py-h2] Older version requires py-enum34 for older versions of python
-rw-r--r-- | var/spack/repos/builtin/packages/py-h2/package.py | 13 |
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') |