# Maintainer: Erich Eckner _pkgname=azure-common pkgname=python-$_pkgname pkgver=1.1.28 pkgrel=3 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=('any') source=("https://pypi.python.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 }