blob: 7717af4e7b46b2efe56acb60ce93d571aae93eb9 (
plain)
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
|
# Maintainer: Norbert Preining <norbert@preining.info>
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Julian Weigt <juw@posteo.de>
pkgname=python-msal
pkgver=1.31.1
pkgrel=1
pkgdesc="Authenticate with Microsoft Entra (Azure Active Directory) 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")
makedepends=("python-setuptools")
source=("$pkgname-$pkgver.tar.gz"::"https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('699ce06869ebbb4ca3d15c48961e74c57c34facdde2124a2c736338321316d57')
build() {
cd "microsoft-authentication-library-for-python-$pkgver"
python setup.py build
}
package() {
cd "microsoft-authentication-library-for-python-$pkgver"
install -Dm 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
python setup.py install --root="$pkgdir" --optimize=1
}
|