py-ntlm-auth: add new package (#22841)

This commit is contained in:
Adam J. Stewart 2021-04-07 14:25:22 -05:00 committed by GitHub
parent f365cb4535
commit e349ae26fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')