# Maintainer: Erich Eckner # Contributor: Julian Weigt # PKGBUILD generated by pipman, description shortened # Python package author: Microsoft Corporation pkgname=python-msal pkgver=1.22.0 pkgrel=1 pkgdesc="Microsoft Authentication Library for Python library to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts and Microsoft Accounts using OAuth2 and OpenID Connect" arch=(any) url="https://github.com/AzureAD/microsoft-authentication-library-for-python" license=(MIT) depends=("python-requests" "python-pyjwt" "python-cryptography" "python-mock") makedepends=("python-setuptools") source=("$pkgname-$pkgver.tar.gz"::"https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/$pkgver.tar.gz") sha512sums=('669dc8a2b679f75ed019cf823fe2dde105f0aa8139c4a225b83d2fb0c94d3f28df3edc4378395b483ceb877ad91e066663560d478c471e0031b81b80d4bd5be9') build() { cd "microsoft-authentication-library-for-python-$pkgver" python setup.py build } package() { cd "microsoft-authentication-library-for-python-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 }