spack/var/spack/repos/builtin/packages/py-adal/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

27 lines
993 B
Python

# Copyright 2013-2023 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"))