summaryrefslogtreecommitdiff
path: root/python-msal-extensions/PKGBUILD
blob: 569d73a24bfb05692ebc66c11b16e673e0703a7c (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
26
27
28
# Maintainer: Erich Eckner <arch at eckner dot net>

_pkgname=msal-extensions
pkgname=python-$_pkgname
pkgver=1.0.0
pkgrel=4
pkgdesc='Microsoft Authentication Library extensions (MSAL EX) provides a persistence API that can save your data on disk, encrypted on Windows, macOS and Linux. Concurrent data access will be coordinated by a file lock mechanism.'
url='https://pypi.org/project/msal-extensions/'
depends=(
  'python>=3.11'
  'python<3.12')
makedepends=(
  'python-pip'
  'python-setuptools')
license=('MIT')
arch=('any')
source=("https://pypi.python.org/packages/33/5e/2e23593c67df0b21ffb141c485ca0ae955569203d7ff5064040af968cb81/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('5dc22a64a535ac9c7488d0d1e85e2f8320cb5c9e4cb5891599c8fc07060ff1eac310fe93ef42416142600ade8666ac4f0a3614a3e81950311f6d752cac5de959')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py build_ext --inplace
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1 
}