summaryrefslogtreecommitdiff
path: root/python-msal-extensions
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-02 12:47:06 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-02 16:40:56 +0100
commitf42272aaa280956d77891d40039c9ba67bfb8882 (patch)
treead828671dc0139f23800574fe7a2ba88539b3ea4 /python-msal-extensions
parent33271ea04d8b2dd02000aefb477bd207475b441a (diff)
downloadarchlinuxewe-f42272aaa280956d77891d40039c9ba67bfb8882.tar.xz
try to fix azure-cli packages
Diffstat (limited to 'python-msal-extensions')
-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
+}