blob: bc5c8d431cecfa59a4a1038477e4a8e57842a433 (
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
31
32
|
# Maintainer: Erich Eckner <arch at eckner dot net>
_pkgname=azure-common
pkgname=python-$_pkgname
pkgver=1.1.28
pkgrel=5
pkgdesc='Microsoft Azure Client Library for Python (Common)'
url='https://pypi.org/project/azure-common/'
depends=(
'python>=3.12'
'python<3.13'
'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
}
|