summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-04-07 14:25:22 -0500
committerGitHub <noreply@github.com>2021-04-07 12:25:22 -0700
commite349ae26fc9d2a571689c2e2219f13bb8ab03b0b (patch)
tree2a2743958f27dc402db06eea8f15c4b87208a3d7
parentf365cb453529c276b837a6b0e6d9117ef9a72210 (diff)
downloadspack-e349ae26fc9d2a571689c2e2219f13bb8ab03b0b.tar.gz
spack-e349ae26fc9d2a571689c2e2219f13bb8ab03b0b.tar.bz2
spack-e349ae26fc9d2a571689c2e2219f13bb8ab03b0b.tar.xz
spack-e349ae26fc9d2a571689c2e2219f13bb8ab03b0b.zip
py-ntlm-auth: add new package (#22841)
-rw-r--r--var/spack/repos/builtin/packages/py-ntlm-auth/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ntlm-auth/package.py b/var/spack/repos/builtin/packages/py-ntlm-auth/package.py
new file mode 100644
index 0000000000..46c3245ec9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ntlm-auth/package.py
@@ -0,0 +1,19 @@
+# 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 PyNtlmAuth(PythonPackage):
+ """Creates NTLM authentication structures."""
+
+ homepage = "https://github.com/jborean93/ntlm-auth"
+ pypi = "ntlm-auth/ntlm-auth-1.5.0.tar.gz"
+
+ version('1.5.0', sha256='c9667d361dc09f6b3750283d503c689070ff7d89f2f6ff0d38088d5436ff8543')
+
+ depends_on('python@2.6:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-ordereddict', type=('build', 'run'), when='^python@:2.6.999')