blob: 1ae170c574c390cb0bc32c8da24a5904e40ad780 (
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
33
34
35
36
37
38
|
# Maintainer: Erich Eckner <arch at eckner dot net>
_pkgname=azure-core
pkgname=python-$_pkgname
pkgver=1.26.1
pkgrel=3
pkgdesc='Microsoft Azure Core Library for Python'
url='https://pypi.org/project/azure-core/'
depends=(
'python>=3.10'
'python<3.11'
'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
}
|