contrib/python3-prometheus_client/Pkgfile

19 lines
531 B
Plaintext
Raw Normal View History

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
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
}