blob: c7a107f3a3f725277fad8f31f2c890a09fd2dbe5 (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
_pkgname=azure-cli-telemetry
pkgname=python-$_pkgname
pkgver=1.0.8
pkgrel=1
pkgdesc='Microsoft Azure CLI Telemetry Package'
url='https://pypi.org/project/azure-cli-telemetry/'
depends=(
'python>=3.10'
'python<3.11'
'python-portalocker')
makedepends=(
'python-pip'
'python-setuptools')
license=('BSD')
arch=('i686' 'pentium4' 'x86_64')
source=("https://pypi.python.org/packages/f0/d2/1e4e9bb8ccafa5abc788e5c4329984a27164873f4b64ebe5c3495e622486/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('a9cdfc76608b4099528d277ccb187750427838dd26ba2fea9969a21f4351bcfe0943d5004deb52f4290c9f6989061e4b4d62194c64f495c941b31cc8272dae26')
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"
}
|