From 9546eadd980d233f1301a6adc1e743f73da72fae Mon Sep 17 00:00:00 2001 From: iarspider Date: Fri, 14 Oct 2022 20:46:08 +0200 Subject: Add checksum for py-oauthlib 3.2.1 (#33201) * Add checksum for py-oauthlib 3.2.1 * Update package.py * [@spackbot] updating style on behalf of iarspider * Update package.py * Update package.py Co-authored-by: iarspider --- .../repos/builtin/packages/py-oauthlib/package.py | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-oauthlib/package.py b/var/spack/repos/builtin/packages/py-oauthlib/package.py index d5a7fb4ef6..1b73e0c4b2 100644 --- a/var/spack/repos/builtin/packages/py-oauthlib/package.py +++ b/var/spack/repos/builtin/packages/py-oauthlib/package.py @@ -15,19 +15,38 @@ class PyOauthlib(PythonPackage): homepage = "https://github.com/oauthlib/oauthlib" pypi = "oauthlib/oauthlib-3.1.0.tar.gz" + version("3.2.1", sha256="1565237372795bf6ee3e5aba5e2a85bd5a65d0e2aa5c628b9a97b7d7a0da3721") version("3.1.1", sha256="8f0215fcc533dd8dd1bee6f4c412d4f0cd7297307d43ac61666389e3bc3198a3") version("3.1.0", sha256="bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889") version("3.0.1", sha256="0ce32c5d989a1827e3f1148f98b9085ed2370fc939bf524c9c851d8714797298") version("2.0.2", sha256="b3b9b47f2a263fe249b5b48c4e25a5bce882ff20a0ac34d553ce43cff55b53ac") - variant("extras", default=True, description="Build with pyjwt, blinker, cryptography") + variant( + "extras", + when="@:3.1.1", + default=True, + description="Build with pyjwt, blinker, cryptography", + ) + variant("rsa", when="@3.2.1:", default=False, description="Build with cryptography") + variant( + "signedtoken", + when="@3.2.1:", + default=False, + description="Build with cryptography and pyjwt", + ) + variant("signals", when="@3.2.1:", default=False, description="Build with blinker") depends_on("py-setuptools", type="build") depends_on("py-pyjwt@1.0.0:", type=("build", "run"), when="+extras") depends_on("py-pyjwt@2.0.0:2", type=("build", "run"), when="+extras @3.1.1:") + depends_on("py-pyjwt@2.0.0:2", type=("build", "run"), when="+signedtoken @3.2.1:") depends_on("py-blinker", type=("build", "run"), when="+extras") + depends_on("py-blinker", type=("build", "run"), when="+signals") depends_on("py-blinker@1.4:", type=("build", "run"), when="+extras @3.1.1:") + depends_on("py-blinker@1.4:", type=("build", "run"), when="+signals @3.2.1:") depends_on("py-cryptography", type=("build", "run"), when="+extras") - depends_on("py-cryptography@3.0.0:3", type=("build", "run"), when="+extras @3.1.1:") + depends_on("py-cryptography@3.0.0:3", type=("build", "run"), when="+extras @3.1.1") + depends_on("py-cryptography@3.0.0:", type=("build", "run"), when="+rsa @3.2.1:") + depends_on("py-cryptography@3.0.0:", type=("build", "run"), when="+signedtoken @3.2.1:") depends_on("python@2.7:2.8,3.4:", type=("build", "run")) depends_on("python@3.6:", type=("build", "run"), when="@3.1.1:") -- cgit v1.2.3-60-g2f50