diff options
author | iarspider <iarspider@gmail.com> | 2022-10-06 15:38:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 07:38:00 -0600 |
commit | f168a44fcba5b1889150eba3360957dd88b310f9 (patch) | |
tree | 2a3ab7c2c4d1f172585e6d0b97fc17197a6b5bfa /var | |
parent | c959d6c905d26c2edcfbafa7311f09789b23b91a (diff) | |
download | spack-f168a44fcba5b1889150eba3360957dd88b310f9.tar.gz spack-f168a44fcba5b1889150eba3360957dd88b310f9.tar.bz2 spack-f168a44fcba5b1889150eba3360957dd88b310f9.tar.xz spack-f168a44fcba5b1889150eba3360957dd88b310f9.zip |
Add checksum for py-urllib3 1.26.12 (#33019)
* Add checksum for py-urllib3 1.26.12
* Update var/spack/repos/builtin/packages/py-urllib3/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Fixes from review
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py | 17 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-urllib3/package.py | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py b/var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py new file mode 100644 index 0000000000..ede36b60d0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyUrllib3SecureExtra(PythonPackage): + """Marker library to detect whether urllib3 was installed with the deprecated [secure] extra""" + + homepage = "https://github.com/urllib3/urllib3-secure-extra" + pypi = "urllib3-secure-extra/urllib3-secure-extra-0.1.0.tar.gz" + + version("0.1.0", sha256="ee9409cbfeb4b8609047be4c32fb4317870c602767e53fd8a41005ebe6a41dff") + + depends_on("py-flit-core@3.2:3", type="build") diff --git a/var/spack/repos/builtin/packages/py-urllib3/package.py b/var/spack/repos/builtin/packages/py-urllib3/package.py index 5cf36a5444..28e8165bb5 100644 --- a/var/spack/repos/builtin/packages/py-urllib3/package.py +++ b/var/spack/repos/builtin/packages/py-urllib3/package.py @@ -13,6 +13,7 @@ class PyUrllib3(PythonPackage): homepage = "https://urllib3.readthedocs.io/" pypi = "urllib3/urllib3-1.25.6.tar.gz" + version("1.26.12", sha256="3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e") version("1.26.6", sha256="f57b4c16c62fa2760b7e3d97c35b255512fb6b59a259730f36ba32ce9f8e342f") version("1.25.9", sha256="3018294ebefce6572a474f0604c2021e33b3fd8006ecd11d62107a5d2a963527") version("1.25.6", sha256="9a107b99a5393caf59c7aa3c1249c16e6879447533d0887f4336dde834c7be86") @@ -28,6 +29,7 @@ class PyUrllib3(PythonPackage): depends_on("python@2.7:2.8,3.4:", when="@:1.25", type=("build", "run")) depends_on("python@2.7:2.8,3.5:", when="@1.26.6", type=("build", "run")) + depends_on("python@2.7:2.8,3.6:3", when="@1.26.12:", type=("build", "run")) depends_on("py-setuptools", type="build") @@ -36,6 +38,7 @@ class PyUrllib3(PythonPackage): depends_on("py-idna@2:", when="+secure") depends_on("py-certifi", when="+secure") depends_on("py-ipaddress", when="+secure ^python@2.7:2.8") + depends_on("py-urllib3-secure-extra", when="+secure @1.26.12:") depends_on("py-pysocks@1.5.6,1.5.8:1", when="+socks") |