New versions of py-google-auth and py-google-auth-oauthlib (#27056)

* New versions of py-google-auth and py-google-auth-oauthlib

* Update var/spack/repos/builtin/packages/py-google-auth/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
iarspider 2021-10-30 18:18:48 +02:00 committed by GitHub
parent bdfb281a35
commit 4262a66f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -10,9 +10,12 @@ class PyGoogleAuthOauthlib(PythonPackage):
homepage = "https://github.com/googleapis/google-auth-library-python-oauthlib"
pypi = "google-auth-oauthlib/google-auth-oauthlib-0.4.1.tar.gz"
version('0.4.6', sha256='a90a072f6993f2c327067bf65270046384cda5a8ecb20b94ea9a687f1f233a7a')
version('0.4.1', sha256='88d2cd115e3391eb85e1243ac6902e76e77c5fe438b7276b297fbe68015458dd')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('python@3.6:', type=('build', 'run'), when='@0.4.6:')
depends_on('py-setuptools', type='build')
depends_on('py-google-auth', type=('build', 'run'))
depends_on('py-google-auth@1.0.0:', type=('build', 'run'), when='@0.4.6:')
depends_on('py-requests-oauthlib@0.7.0:', type=('build', 'run'))

View File

@ -13,11 +13,19 @@ class PyGoogleAuth(PythonPackage):
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python"
pypi = "google-auth/google-auth-1.6.3.tar.gz"
version('2.3.2', sha256='2dc5218ee1192f9d67147cece18f47a929a9ef746cb69c50ab5ff5cfc983647b')
version('1.6.3', sha256='0f7c6a64927d34c1a474da92cfc59e552a5d3b940d3266606c6a28b72888b9e4')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('python@3.6:', type=('build', 'run'), when='@1.35:')
depends_on('python@2.7:2.8,3.6:', type=('build', 'run'), when='@1.24:')
depends_on('py-setuptools', type='build')
depends_on('py-setuptools@40.3.0', type='build', when='@2.3.2:')
depends_on('py-pyasn1-modules@0.2.1:', type=('build', 'run'))
depends_on('py-rsa@3.1.4:', type=('build', 'run'))
depends_on('py-rsa@3.1.4:4', type=('build', 'run'), when='@2.3.2 ^python@3.6:')
depends_on('py-rsa@:4.5', type=('build', 'run'), when='@2.3.2 ^python@:3.5')
depends_on('py-six@1.9.0:', type=('build', 'run'))
depends_on('py-cachetools@2.0.0:', type=('build', 'run'))
depends_on('py-cachetools@2.0.0:4', type=('build', 'run'), when='@2.3.2:')
depends_on('py-enum34@1.1.10:', type=('build', 'run'), when='@2.3.2: ^python@:3.3')