summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-05-27 18:13:27 -0600
committerGitHub <noreply@github.com>2021-05-28 00:13:27 +0000
commitb375500134f024fa60690f32a321aed4d2714aff (patch)
tree85f1135fd1c8bc16de901437cb1c86e1c1cb53c0 /var
parentb255c698d5e3e9566501a26ac6b1d407c51788a8 (diff)
downloadspack-b375500134f024fa60690f32a321aed4d2714aff.tar.gz
spack-b375500134f024fa60690f32a321aed4d2714aff.tar.bz2
spack-b375500134f024fa60690f32a321aed4d2714aff.tar.xz
spack-b375500134f024fa60690f32a321aed4d2714aff.zip
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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-gql/package.py20
1 files changed, 13 insertions, 7 deletions
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')