summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-adal/package.py
blob: 3c0e0ce27eac4644fbd77a3482a544033e506f09 (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
27
28
# Copyright 2013-2024 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"

    license("MIT")

    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"))