28 lines
935 B
Python
28 lines
935 B
Python
# Copyright Spack Project Developers. See 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"))
|