# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-prometheus-client pkgver=0.9.0 pkgrel=0 pkgdesc="Python3 client for the Prometheus monitoring system" url="https://github.com/prometheus/client_python" arch="noarch" license="Apache-2.0" depends="python3 py3-twisted" makedepends="python3-dev py3-setuptools" options="!check" # Pypi tarballs come without tests source="https://pypi.io/packages/source/p/prometheus_client/prometheus_client-$pkgver.tar.gz" builddir="$srcdir/prometheus_client-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="5b6ae0e22afdc2cdc3f1a03429a950d84d1ad5e6445d8b97db7b9fd124ae1beaa256ccb595486becc6bfa7029eca53bdaf18c0f93da8988ae853bc32c96692f0 prometheus_client-0.9.0.tar.gz"