From f42272aaa280956d77891d40039c9ba67bfb8882 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 2 Jan 2023 12:47:06 +0100 Subject: try to fix azure-cli packages --- python-azure-common/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 python-azure-common/PKGBUILD (limited to 'python-azure-common') 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 + +_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 +} -- cgit v1.2.3-70-g09d2