contrib/python3-prometheus_client/Pkgfile

19 lines
531 B
Plaintext

# 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
version=0.14.1
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
}