# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-gcp-devrel-py-tools
pkgver=0.0.16
_commit=dbc02f5ec965a6672d47a0e8963365970d96db17
pkgrel=8
pkgdesc='Tools for Cloud Platform Python libraries and samples'
arch=('any')
license=('Apache')
url='https://github.com/GoogleCloudPlatform/python-repo-tools'
depends=('python-setuptools' 'python-requests' 'python-retrying' 'python-packaging' 'python-pylint')
source=("$pkgname-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz")
sha512sums=('8e1963d9cf15aee6c11bf99236f6d86ba72a56a8bb41c20b7d28786669551a35204755c9abcccc617ac4384b9f68e53a0a04d70726849fd0cd3c89f0aae15b76')

build() {
  cd "$srcdir"/python-repo-tools-$_commit
  python setup.py build
}

package() {
  cd python-repo-tools-$_commit
  python setup.py install --root="$pkgdir" --optimize=1
}

# vim:set ts=2 sw=2 et:
