summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-adal/package.py
blob: 484a3e37e2a2c152d0b0cd5313971ba2c3c82526 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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 PyAdal(PythonPackage):
    """The ADAL for Python library makes it easy for python application to
    authenticate to Azure Active Directory (AAD) in order to access AAD
    protected web resources.

    DEPRECATED: replaced by MSAL Python."""

    homepage = "https://github.com/AzureAD/azure-activedirectory-library-for-python"
    pypi = "adal/adal-1.2.4.tar.gz"

    version('1.2.4', sha256='7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0')

    depends_on('py-setuptools', type='build')
    depends_on('py-pyjwt@1.0.0:', type=('build', 'run'))
    depends_on('py-requests@2.0.0:', type=('build', 'run'))
    depends_on('py-python-dateutil@2.1.0:', type=('build', 'run'))
    depends_on('py-cryptography@1.1.0:', type=('build', 'run'))