summaryrefslogtreecommitdiff
path: root/community/py3-prometheus-client/APKBUILD
blob: b7738e620edfc2aa64a85a9367ef6c860ef3b486 (plain)
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: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-prometheus-client
pkgver=0.15.0
pkgrel=1
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="
ebe1572d80c31e5029ac536a8107c7c9b0ffbea113a5fac666a761253592fdd467ec77551d77f5afaef06b9e9119eca4883a19daf7259d685b588e3b74886602  prometheus_client-0.15.0.tar.gz
"