blob: 8948dc670dc3a560dc252c4b0ac74a3b665a328d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Erich Eckner <arch at eckner dot net>
_pkgname=azure-cli-core
pkgname=python-$_pkgname
pkgver=2.59.0
pkgrel=4
pkgdesc='Microsoft Azure Command-Line Tools Core Module'
url='https://pypi.org/project/azure-cli-core/'
depends=(
'python>=3.12'
'python<3.13')
makedepends=(
'python-setuptools')
license=('BSD')
arch=('any')
source=("https://pypi.python.org/packages/9c/1c/6b1edae0f576deb9c97dd9742575967be7d0432c926983dc1d6f865103a9/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('e9c285df964d3e4684e2cabf85630e32d82f38d74d9af2962182b763d8e39f7a06b7808881af997ba0505ee44581533454d565c4751797062b66bf32cdc6d9a2')
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
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|