diff options
-rw-r--r-- | python-azure-cli-core/PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/python-azure-cli-core/PKGBUILD b/python-azure-cli-core/PKGBUILD index 8948dc670..d2fee96ad 100644 --- a/python-azure-cli-core/PKGBUILD +++ b/python-azure-cli-core/PKGBUILD @@ -2,29 +2,31 @@ _pkgname=azure-cli-core pkgname=python-$_pkgname -pkgver=2.59.0 -pkgrel=4 +pkgver=2.61.0 +pkgrel=1 pkgdesc='Microsoft Azure Command-Line Tools Core Module' url='https://pypi.org/project/azure-cli-core/' +__pkgname=azure_cli_core depends=( - 'python>=3.12' 'python<3.13') makedepends=( - 'python-setuptools') + 'python-pip' + 'python-setuptools' + 'python-wheel') license=('BSD') arch=('any') -source=("https://pypi.python.org/packages/9c/1c/6b1edae0f576deb9c97dd9742575967be7d0432c926983dc1d6f865103a9/${_pkgname}-${pkgver}.tar.gz") -sha512sums=('e9c285df964d3e4684e2cabf85630e32d82f38d74d9af2962182b763d8e39f7a06b7808881af997ba0505ee44581533454d565c4751797062b66bf32cdc6d9a2') +source=("https://files.pythonhosted.org/packages/84/b5/eb57177345712ab1e895877ca143919922ee43ee98593ccb308bb7696d9b/${__pkgname}-${pkgver}.tar.gz") +sha512sums=('cbb64f8a211778a22451c440a622b38fe0514e80cafc9aa595d79d14b5ad17057fa01ddab81f9934755262b2642a2898a57024a79435d41e419d50dd6534da8e') build() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$__pkgname-$pkgver" python setup.py build_ext --inplace python setup.py test } package() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$__pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |