# Maintainer: Erich Eckner _pkgname=azure-core pkgname=python-$_pkgname pkgver=1.26.1 pkgrel=6 pkgdesc='Microsoft Azure Core Library for Python' url='https://pypi.org/project/azure-core/' depends=( 'python>=3.12' 'python<3.13' 'python-azure-common' ) makedepends=( 'python-pip' 'python-setuptools') checkdepends=( 'python-aiohttp' 'python-trio') license=('MIT') arch=('any') source=("https://pypi.python.org/packages/4f/ec/3ba46ff4deebe738b7213997fc856553282e971a767b6291e05aca9d9566/${_pkgname}-${pkgver}.zip") sha512sums=('dcddf28bdbac913e66640adb7c511c74e4597756c444d2ef43fb82d5348eae391544715cbe95600d8caec9afcfe8ab5d20b9b33c49b8fd026b8f0f7657cae931') build() { cd "$srcdir/$_pkgname-$pkgver" python setup.py build_ext --inplace } check() { cd "$srcdir/$_pkgname-$pkgver" python setup.py test } package() { cd "$srcdir/$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 }