summaryrefslogtreecommitdiff
path: root/python-msal-extensions/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'python-msal-extensions/PKGBUILD')
-rw-r--r--python-msal-extensions/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/python-msal-extensions/PKGBUILD b/python-msal-extensions/PKGBUILD
new file mode 100644
index 000000000..b3c68ebc5
--- /dev/null
+++ b/python-msal-extensions/PKGBUILD
@@ -0,0 +1,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
+}