diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-04-07 15:53:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 13:53:58 -0700 |
commit | 77a211dc468fc76bf6cdde9344d1b156719a7477 (patch) | |
tree | 018275b9fe24b92e505469cabc01c4cf176b4a63 | |
parent | f89b5e1e84fd553dfb6f39cad3ed00048363017f (diff) | |
download | spack-77a211dc468fc76bf6cdde9344d1b156719a7477.tar.gz spack-77a211dc468fc76bf6cdde9344d1b156719a7477.tar.bz2 spack-77a211dc468fc76bf6cdde9344d1b156719a7477.tar.xz spack-77a211dc468fc76bf6cdde9344d1b156719a7477.zip |
py-requests-ntlm: add new package (#22842)
-rw-r--r-- | var/spack/repos/builtin/packages/py-requests-ntlm/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-requests-ntlm/package.py b/var/spack/repos/builtin/packages/py-requests-ntlm/package.py new file mode 100644 index 0000000000..011b219959 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-requests-ntlm/package.py @@ -0,0 +1,20 @@ +# 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 PyRequestsNtlm(PythonPackage): + """This package allows for HTTP NTLM authentication using the requests library.""" + + homepage = "https://github.com/requests/requests-ntlm" + pypi = "requests_ntlm/requests_ntlm-1.1.0.tar.gz" + + version('1.1.0', sha256='9189c92e8c61ae91402a64b972c4802b2457ce6a799d658256ebf084d5c7eb71') + + depends_on('py-setuptools', type='build') + depends_on('py-requests@2.0.0:', type=('build', 'run')) + depends_on('py-ntlm-auth@1.0.2:', type=('build', 'run')) + depends_on('py-cryptography@1.3:', type=('build', 'run')) |