28 lines
949 B
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com>
pkgname=python-google-api-core
pkgver=1.28.0
pkgrel=1
pkgdesc="Google API client core library"
arch=('any')
url="https://github.com/googleapis/googleapis"
license=('Apache')
depends=('python-setuptools' 'python-pytz' 'python-requests' 'python-googleapis-common-protos' 'python-google-auth')
optdepends=('python-grpcio: for grpc support')
source=("https://files.pythonhosted.org/packages/source/g/google-api-core/google-api-core-${pkgver}.tar.gz")
sha256sums=('02646803bd728e12dd1f45ee1dcc31c12614c9a1ac451b9a1ce26aa65df9b957')
build() {
cd "google-api-core-${pkgver}"
python setup.py build
}
package() {
cd "google-api-core-${pkgver}"
export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1
}