summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6832dd681ab54e1ce20653900e039ecfb85c1a57 (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: pallxk <aur at pallxk dot com>

pkgname=python-azure-git
pkgver=4.0.0.r2158.g619eb295a6
pkgrel=1
pkgdesc="Microsoft Azure SDK for Python"
arch=('any')
url="https://github.com/Azure/azure-sdk-for-python"
license=('MIT')
depends=('python-msrestazure')
makedepends=('git' 'python-setuptools')
provides=('python-azure')
conflicts=('python-azure' 'python-azure-storage')
source=("git+https://github.com/Azure/azure-sdk-for-python.git")
md5sums=('SKIP')

pkgver() {
  cd azure-sdk-for-python
  git describe --long --tags --match azure_* | sed 's/^azure_//;s/-/.r/;s/-/./'
}

build() {
  cd azure-sdk-for-python
  python setup.py build
}

package() {
  cd azure-sdk-for-python
  python setup.py install --root="$pkgdir" --optimize=1
}