summaryrefslogtreecommitdiff
path: root/python-msal-extensions/PKGBUILD
blob: b3c68ebc54fcd0e7a3b00e6262869f4ae8659f8a (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=1
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.10'
  'python<3.11')
makedepends=(
  'python-pip'
  'python-setuptools')
license=('MIT')
arch=('i686' 'pentium4' 'x86_64')
source=("https://files.pythonhosted.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 
}