summaryrefslogtreecommitdiff
path: root/python-azure-common
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-azure-common
parent33271ea04d8b2dd02000aefb477bd207475b441a (diff)
downloadarchlinuxewe-f42272aaa280956d77891d40039c9ba67bfb8882.tar.xz
try to fix azure-cli packages
Diffstat (limited to 'python-azure-common')
-rw-r--r--python-azure-common/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/python-azure-common/PKGBUILD b/python-azure-common/PKGBUILD
new file mode 100644
index 000000000..a843beb3a
--- /dev/null
+++ b/python-azure-common/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+_pkgname=azure-common
+pkgname=python-$_pkgname
+pkgver=1.1.28
+pkgrel=1
+pkgdesc='Microsoft Azure Client Library for Python (Common)'
+url='https://pypi.org/project/azure-common/'
+depends=(
+ 'python>=3.10'
+ 'python<3.11'
+ 'python-humanfriendly'
+ 'python-knack'
+ 'python-pkginfo')
+makedepends=(
+ 'python-pip'
+ 'python-setuptools')
+arch=('i686' 'pentium4' 'x86_64')
+source=("https://files.pythonhosted.org/packages/3e/71/f6f71a276e2e69264a97ad39ef850dca0a04fce67b12570730cb38d0ccac/${_pkgname}-${pkgver}.zip")
+sha512sums=('cfa8d08e11ff7d855342a589f9780ba1b2386fd63cddcbcc04d83be8d4d8e41dceba494b617e27ed4e3da4366b9f1203819ec391ef4466a6700cc2c8b85f0c38')
+license=('MIT')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build_ext --inplace
+ python setup.py test
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}