summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e4a70759f31f17df7f078a0aa223ef7b95507c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Alexander Bruegmann <mail[at]abruegmann[dot]eu>

pkgname=python-azure-mgmt-resource
_pkg="${pkgname#python-}"
pkgver=23.0.1
pkgrel=1
pkgdesc='Microsoft Azure Resource Management Client Library for Python'
license=('MIT')
arch=('any')
url="https://github.com/Azure/azure-sdk-for-python"
depends=(
    'python-isodate' 'python-msrest>=0.6.21'
    'python-azure-common>=1.1' 'python-azure-common<=1.2'
    'python-azure-mgmt-core>=1.3.2' 'python-azure-mgmt-core<2.0.0'
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/py3/${_pkg::1}/$_pkg/${_pkg//-/_}-$pkgver-py3-none-any.whl")
sha256sums=('f185eec72bbc39f42bcb83ae6f1bad744f0e3f20a12d9b2b3e70d16c74ad9cc0')

package() {
    python -m installer --destdir="$pkgdir" ${_pkg//-/_}-${pkgver}-py3-none-any.whl
    install -Dm0644 ${_pkg//-/_}-$pkgver.dist-info/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}