diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-04-08 06:33:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 13:33:04 +0200 |
commit | cca5f260e59a98efa53d2e506c4c1ba5d33f1ec9 (patch) | |
tree | 62805628ca8d83468b56689577ee37be983ca60f | |
parent | 5500eed60c676b47ddb4e792d36f2ce35dfa0354 (diff) | |
download | spack-cca5f260e59a98efa53d2e506c4c1ba5d33f1ec9.tar.gz spack-cca5f260e59a98efa53d2e506c4c1ba5d33f1ec9.tar.bz2 spack-cca5f260e59a98efa53d2e506c4c1ba5d33f1ec9.tar.xz spack-cca5f260e59a98efa53d2e506c4c1ba5d33f1ec9.zip |
py-python-certifi-win32: add new package (#22843)
-rw-r--r-- | var/spack/repos/builtin/packages/py-python-certifi-win32/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-certifi-win32/package.py b/var/spack/repos/builtin/packages/py-python-certifi-win32/package.py new file mode 100644 index 0000000000..a7588f6612 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-certifi-win32/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2021 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 import * + + +class PyPythonCertifiWin32(PythonPackage): + """This package patches certifi at runtime to also include certificates from the + windows certificate store.""" + + homepage = "https://gitlab.com/alelec/python-certifi-win32" + git = "https://gitlab.com/alelec/python-certifi-win32.git" + + # Tarball missing version information, need to use git checkout + version('1.6', tag='v1.6') + + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm', type='build') + depends_on('py-wrapt@1.10.4:', type=('build', 'run')) + depends_on('py-wincertstore', type=('build', 'run'), when='^python@:3.3.999') + depends_on('py-certifi', type=('build', 'run')) |