diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-google-api-python-client/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-google-api-python-client/package.py | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-google-api-python-client/package.py b/var/spack/repos/builtin/packages/py-google-api-python-client/package.py index 0cca862ad4..ca6f577d28 100644 --- a/var/spack/repos/builtin/packages/py-google-api-python-client/package.py +++ b/var/spack/repos/builtin/packages/py-google-api-python-client/package.py @@ -13,12 +13,21 @@ class PyGoogleApiPythonClient(PythonPackage): homepage = "https://github.com/google/google-api-python-client/" pypi = "google-api-python-client/google-api-python-client-1.7.10.tar.gz" + version("2.80.0", sha256="51dd62d467da7ad3df63c3f0e6fca84266ce50c2218691204b2e8cd651a0719a") version("1.7.10", sha256="2e55a5c7b56233c68945b6804c73e253445933f4d485d4e69e321b38772b9dd6") - depends_on("python@2.7:2.8,3.4:", type=("build", "run")) depends_on("py-setuptools", type="build") - depends_on("py-httplib2@0.9.2:", type=("build", "run")) - depends_on("py-google-auth@1.4.1:", type=("build", "run")) - depends_on("py-google-auth-httplib2@0.0.3:", type=("build", "run")) - depends_on("py-six@1.6.1:", type=("build", "run")) - depends_on("py-uritemplate@3.0.0:", type=("build", "run")) + + with when("@2:"): + depends_on("py-httplib2@0.15:0", type=("build", "run")) + depends_on("py-google-auth@1.19:2", type=("build", "run")) + depends_on("py-google-auth-httplib2@0.1:", type=("build", "run")) + depends_on("py-google-api-core@1.31.5:1,2.3.1:2", type=("build", "run")) + depends_on("py-uritemplate@3.0.1:4", type=("build", "run")) + + with when("@:1"): + depends_on("py-httplib2@0.9.2:", type=("build", "run")) + depends_on("py-google-auth@1.4.1:", type=("build", "run")) + depends_on("py-google-auth-httplib2@0.0.3:", type=("build", "run")) + depends_on("py-six@1.6.1:", type=("build", "run")) + depends_on("py-uritemplate@3.0.0:", type=("build", "run")) |