summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ntlm-auth/package.py
blob: f49e2171d0915cf6b259b8e66ddec9a7c047e218 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 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')