2022-03-27 19:09:51 +02:00
|
|
|
# Description: Prometheus instrumentation library for Python applications
|
|
|
|
# URL: https://github.com/prometheus/client_python
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-prometheus_client
|
2022-04-09 12:13:21 +02:00
|
|
|
version=0.14.1
|
2022-03-27 19:09:51 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/prometheus/client_python/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd client_python-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
-O1 \
|
|
|
|
--skip-build
|
|
|
|
}
|