void-packages/srcpkgs/python-prometheus_client/template
2019-04-15 09:28:06 -03:00

26 lines
834 B
Bash

# Template file for 'python-prometheus_client'
pkgname=python-prometheus_client
version=0.6.0
revision=1
archs=noarch
wrksrc="prometheus_client-${version}"
build_style=python-module
pycompile_module="prometheus_client"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 client for the Prometheus monitoring system"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/prometheus/client_python"
distfiles="${PYPI_SITE}/p/prometheus_client/prometheus_client-${version}.tar.gz"
checksum=1b38b958750f66f208bcd9ab92a633c0c994d8859c831f7abc1f46724fcee490
python3-prometheus_client_package() {
archs=noarch
depends="python3"
pycompile_module="prometheus_client"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}