# Maintainer: Alexander Fasching # Contributor: brent s. # Bugreports can be filed at https://github.com/alexf91/AUR-PKGBUILDs pkgname='python-grpcio-tools' pkgver=1.47.0 pkgrel=1 pkgdesc="Python protobuf generator for GRPC" arch=('x86_64' 'i686' 'armv7h' 'aarch64') url="https://grpc.io/" license=('Apache' ) _pkgname=grpcio-tools install= changelog= noextract=() depends=('python' 'python-grpcio' 'python-protobuf') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/g/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") sha512sums=('87869741ba89230d022a0f5824852b0e7bf3f48127aef378191667a7e3c2abc5cb584a91e5d8375acae963fbb72b9e233371ad3e7498a1cdd2303257fd3e44ea') build() { cd "$srcdir/$_pkgname-$pkgver" python setup.py build } package() { cd "$srcdir/$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build } # vim:set sw=2 et: