summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 378bc2496b8b8e06065e911e9175b5a1e4291987 (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
# Maintainer: Ainola

pkgname=python-google-auth-httplib2-git
pkgver=r8.e7cd722
pkgrel=1
pkgdesc="An httplib2 transport for google-auth"
arch=('any')
url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
license=('Apache')
makedepends=('python-setuptools')
depends=('python' 'python-google-auth' 'python-httplib2' 'python-six')
provides=('python-google-auth-httplib2')
source=("git+https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/google-auth-library-python-httplib2"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/google-auth-library-python-httplib2"
    python setup.py build
}

package() {
    cd "$srcdir/google-auth-library-python-httplib2"
    python setup.py install --root="$pkgdir/" --optimize=1
}