diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-asgiref/package.py | 5 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-h11/package.py | 8 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-websockets/package.py | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-asgiref/package.py b/var/spack/repos/builtin/packages/py-asgiref/package.py index 9ade949dc4..f141c619d5 100644 --- a/var/spack/repos/builtin/packages/py-asgiref/package.py +++ b/var/spack/repos/builtin/packages/py-asgiref/package.py @@ -12,6 +12,7 @@ class PyAsgiref(PythonPackage): homepage = "https://asgi.readthedocs.io/en/latest/" url = "https://github.com/django/asgiref/archive/3.2.7.tar.gz" + version('3.5.0', sha256='2f8abc20f7248433085eda803936d98992f1343ddb022065779f37c5da0181d0') version('3.2.7', sha256='8a0b556b9e936418475f6670d59e14592c41d15d00b5ea4ad26f2b46f9f4fb9a') version('3.2.6', sha256='29788163bdad8d494475a0137eba39b111fd86fbe825534a9376f9f2ab44251a') version('3.2.5', sha256='eeb01ba02e86859746ee2a7bc8a75c484a006dc9575723563f24642a12b2bba8') @@ -23,5 +24,7 @@ class PyAsgiref(PythonPackage): version('3.1.4', sha256='bf01c52111ef7af2adc1e6d90282d2a32c5ebe09e84ae448389ceff7cef53fa9') version('3.1.3', sha256='5b8bb7b3719b8c12a6c2363784a4d8c0eb5e980d8b4fdb6f38eccb52071dfab5') - depends_on('python@3.5:', type=('build', 'run')) depends_on('py-setuptools', type='build') + depends_on('python@3.5:', type=('build', 'run')) + depends_on('python@3.7:', type=('build', 'run'), when='@3.5.0:') + depends_on('py-typing-extensions', type=('build', 'run'), when='@3.5: ^python@:3.7') diff --git a/var/spack/repos/builtin/packages/py-h11/package.py b/var/spack/repos/builtin/packages/py-h11/package.py index b1b985e8ce..775699af57 100644 --- a/var/spack/repos/builtin/packages/py-h11/package.py +++ b/var/spack/repos/builtin/packages/py-h11/package.py @@ -12,8 +12,14 @@ class PyH11(PythonPackage): homepage = "https://github.com/python-hyper/h11" pypi = "h11/h11-0.10.0.tar.gz" + version('0.13.0', sha256='70813c1135087a248a4d38cc0e1a0181ffab2188141a93eaf567940c3957ff06') + version('0.12.0', sha256='47222cb6067e4a307d535814917cd98fd0a57b6788ce715755fa2b6c28b56042') + version('0.11.0', sha256='3c6c61d69c6f13d41f1b80ab0322f1872702a3ba26e12aa864c928f6a43fbaab') version('0.10.0', sha256='311dc5478c2568cc07262e0381cdfc5b9c6ba19775905736c87e81ae6662b9fd') version('0.9.0', sha256='33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1') depends_on('py-setuptools', type='build') - depends_on('py-wheel', type='build') + + depends_on('python@3.6:', type=('build', 'run'), when='@0.12.0:') + depends_on('py-dataclasses', type=('build', 'run'), when='@0.13: ^python@:3.6') + depends_on('py-typing-extensions', type=('build', 'run'), when='@0.13: ^python@:3.7') diff --git a/var/spack/repos/builtin/packages/py-websockets/package.py b/var/spack/repos/builtin/packages/py-websockets/package.py index 576f89b56f..f18126e071 100644 --- a/var/spack/repos/builtin/packages/py-websockets/package.py +++ b/var/spack/repos/builtin/packages/py-websockets/package.py @@ -11,7 +11,9 @@ class PyWebsockets(PythonPackage): homepage = "https://github.com/aaugustin/websockets" url = "https://github.com/aaugustin/websockets/archive/8.1.tar.gz" + version('10.1', sha256='181d2b25de5a437b36aefedaf006ecb6fa3aa1328ec0236cdde15f32f9d3ff6d') version('8.1', sha256='c19ce96ad5f7606127d3915364144df93fb865a215784b06048fae3d39364f14') depends_on('py-setuptools', type='build') depends_on('python@3.6.1:', type=('build', 'run')) + depends_on('python@3.7:', type=('build', 'run'), when="@10.1") |