aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-googleapis-common-protos/APKBUILD
blob: 6f8c51cee7331042e5ba04f55d81fc0aad32e062 (plain) (blame)
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
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-googleapis-common-protos
_pyname=googleapis-common-protos
pkgver=1.52.0
pkgrel=1
pkgdesc="Common protobufs used in Google APIs for Python"
url="https://pypi.org/project/googleapis-common-protos/"
arch="noarch !ppc64le"  # limited by py3-grpcio
license="Apache-2.0"
depends="python3 protobuf py3-grpcio"
makedepends="py3-setuptools"
options="!check"  # no tests in pypi artifact
source="https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-$pkgver.tar.gz"

builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	chmod -R +r "$pkgdir"/usr/lib/python*/site-packages/
}
sha512sums="470d949379a6aa21875b1c5851de54391847f89136b0b7ee84ac68931388a6294f53be167b6095265b2c2c0f30c7d8c71a4e5a546638670d24a9bd544538ff1a  googleapis-common-protos-1.52.0.tar.gz"