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
This commit is contained in:
Desmond Orton 2021-05-27 18:13:27 -06:00 committed by GitHub
parent b255c698d5
commit b375500134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')