summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2022-10-06 15:38:00 +0200
committerGitHub <noreply@github.com>2022-10-06 07:38:00 -0600
commitf168a44fcba5b1889150eba3360957dd88b310f9 (patch)
tree2a3ab7c2c4d1f172585e6d0b97fc17197a6b5bfa /var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py
parentc959d6c905d26c2edcfbafa7311f09789b23b91a (diff)
downloadspack-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/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-urllib3-secure-extra/package.py17
1 files changed, 17 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")