From 02e4d4e546c63f5a158fae68117f7fe1830b7e00 Mon Sep 17 00:00:00 2001 From: iarspider Date: Sat, 24 Sep 2022 22:27:19 +0200 Subject: Add checksum for py-google-auth 2.11.0, py-cachetools 5.2.0 (#32791) * Add checksum for py-google-auth 2.11.0 * Swap when and type * Update package.py --- var/spack/repos/builtin/packages/py-cachetools/package.py | 6 ++++-- .../repos/builtin/packages/py-google-auth/package.py | 15 ++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-cachetools/package.py b/var/spack/repos/builtin/packages/py-cachetools/package.py index c712340973..4e74d8e2ab 100644 --- a/var/spack/repos/builtin/packages/py-cachetools/package.py +++ b/var/spack/repos/builtin/packages/py-cachetools/package.py @@ -14,10 +14,12 @@ class PyCachetools(PythonPackage): homepage = "https://github.com/tkem/cachetools" pypi = "cachetools/cachetools-3.1.1.tar.gz" + version("5.2.0", sha256="6a94c6402995a99c3970cc7e4884bb60b4a8639938157eeed436098bf9831757") version("4.2.4", sha256="89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693") version("4.2.2", sha256="61b5ed1e22a0924aed1d23b478f37e8d52549ff8a961de2909c69bf950020cff") version("3.1.1", sha256="8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a") depends_on("py-setuptools", type="build") - depends_on("py-setuptools@46.4.0:", type="build", when="@4.2.2:") - depends_on("python@3.5:3", type=("build", "run"), when="@4.2.2:") + depends_on("py-setuptools@46.4.0:", when="@4.2.2:", type="build") + depends_on("python@3.5:3", when="@4.2.2", type=("build", "run")) + depends_on("python@3.7:3", when="@5.2.0", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-google-auth/package.py b/var/spack/repos/builtin/packages/py-google-auth/package.py index fba72419f2..b8a1eada8e 100644 --- a/var/spack/repos/builtin/packages/py-google-auth/package.py +++ b/var/spack/repos/builtin/packages/py-google-auth/package.py @@ -13,19 +13,20 @@ class PyGoogleAuth(PythonPackage): homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python" pypi = "google-auth/google-auth-1.6.3.tar.gz" + version("2.11.0", sha256="ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb") 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("python@2.7:2.8,3.6:", when="@1.24:", type=("build", "run")) depends_on("py-setuptools", type="build") - depends_on("py-setuptools@40.3.0:", type="build", when="@2.3.2:") + depends_on("py-setuptools@40.3.0:", when="@2.3.2:", type="build") 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-rsa@3.1.4:4", when="@2.3.2: ^python@3.6:", type=("build", "run")) + depends_on("py-rsa@:4.5", when="@2.3.2: ^python@:3.5", type=("build", "run")) 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") + depends_on("py-cachetools@2.0.0:4", when="@2.3.2:2.3", type=("build", "run")) + depends_on("py-cachetools@2.0.0:5", when="@2.11.0:", type=("build", "run")) + depends_on("py-enum34@1.1.10:", when="@2.3.2: ^python@:3.3", type=("build", "run")) -- cgit v1.2.3-70-g09d2