From b375500134f024fa60690f32a321aed4d2714aff Mon Sep 17 00:00:00 2001 From: Desmond Orton Date: Thu, 27 May 2021 18:13:27 -0600 Subject: py-gql: Added version and deps for @0.4.0 (#23927) * Added version and deps for @0.4.0 * Switched to pypi, fixed deps * deprecation removal --- var/spack/repos/builtin/packages/py-gql/package.py | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-gql/package.py b/var/spack/repos/builtin/packages/py-gql/package.py index 6443a003d4..3e731471a3 100644 --- a/var/spack/repos/builtin/packages/py-gql/package.py +++ b/var/spack/repos/builtin/packages/py-gql/package.py @@ -11,13 +11,19 @@ class PyGql(PythonPackage): GQL architecture is inspired by React-Relay and Apollo-Client.""" homepage = "https://github.com/graphql-python/gql" - url = "https://github.com/graphql-python/gql/archive/v3.0.0a1.tar.gz" + pypi = "gql/gql-2.0.0.tar.gz" - version('3.0.0a1', sha256='3254a6010464932e3700a8d225cf6e40a6983aaf5f279615504c8196a374daf9') + version('3.0.0a1', sha256='ecd8fd0b6a5a8bb5c9e1a97eefad3f267fc889bd03316211193640d49b3e4525') + version('0.4.0', sha256='259b0c66d8dfe61feb06fe45b57713da0fe2e5ca13fa500a1fafc9bf2f195e81') depends_on('py-setuptools', type='build') - depends_on('py-aiohttp@3.6.2', type=('build', 'run')) - depends_on('py-graphql-core@3.1.0:3.1.999', type=('build', 'run')) - depends_on('py-requests@2.23:2.999', type=('build', 'run')) - depends_on('py-websockets@8.1:8.999', type=('build', 'run')) - depends_on('py-yarl@1.4:1.999', type=('build', 'run')) + depends_on('py-aiohttp@3.6.2', type=('build', 'run'), when='@3.0:') + depends_on('py-graphql-core@3.1.0:3.1.999', type=('build', 'run'), when='@3.0:') + depends_on('py-requests@2.23:2.999', type=('build', 'run'), when='@3.0:') + depends_on('py-websockets@8.1:8.999', type=('build', 'run'), when='@3.0:') + depends_on('py-yarl@1.4:1.999', type=('build', 'run'), when='@3.0:') + + depends_on('py-graphql-core@2.0:2.999', type=('build', 'run'), when='@0.4.0') + depends_on('py-six@1.10.0:', type=('build', 'run'), when='@0.4.0') + depends_on('py-promise@2.0:2.999', type=('build', 'run'), when='@0.4.0') + depends_on('py-requests@2.12:2.999', type=('build', 'run'), when='@0.4.0') -- cgit v1.2.3-60-g2f50