blob: f5d317b550e0290df92f6d02ee7e61fcc4a26a7f (
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.32.0
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=('848d12af6a229b78c94bf23d16f6a2c08c6b9e0b5308ba1a2fabfba6ea38c411')
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
}
|