summaryrefslogtreecommitdiff
path: root/python-msal/PKGBUILD
blob: 23202b5739174586e064be33dab2f054f7b411c7 (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: Erich Eckner <arch at eckner dot net>
# Contributor: Julian Weigt <juw@posteo.de>
# PKGBUILD generated by pipman, description shortened
# Python package author: Microsoft Corporation <nugetaad@microsoft.com>
pkgname=python-msal
pkgver=1.14.0
pkgrel=0
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")
sha256sums=('ef2e6d15283c44eb93f195d212a5234538c7303f4dd7bd1b025f950db75c4f59')

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
}