blob: e7438e43b2749a2ba648bc860af494e2e581d801 (
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.53.0
pkgrel=1
pkgdesc='Microsoft Azure Command-Line Tools Core Module'
url='https://pypi.org/project/azure-cli-core/'
depends=(
'python>=3.11'
'python<3.12')
makedepends=(
'python-setuptools')
license=('BSD')
arch=('any')
source=("https://pypi.python.org/packages/20/86/ef9285a56d6c1a955589705de6e0925d85c371d68c94822eced4da77ef3e/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('c180566d26defec5668f682ba4192b37578bd6dd76e4fc50616221de9d6d95919e267838db172ff811cabe814131fa71af3e7878f8f235982f967277bd993c1b')
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"
}
|