~dricottone/huttese-apk

ref: 7e360894c4cbb7fa1e9173cd7597ef73367c6b61 huttese-apk/sr.ht/py3-prometheus-client/APKBUILD -rw-r--r-- 919 bytes
7e360894 — Ludovic Chabant Add musl libc hotfix to mercurial, bump mercurial to 5.0 5 years ago
                                                                                
cb4c58b7 Drew DeVault
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
27
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-prometheus-client
_pyname=prometheus_client
pkgver=0.7.1
pkgrel=0
pkgdesc="Prometheus instrumentation client for Python"
url="https://github.com/prometheus/client_python"
arch="noarch"
license="Apache-2.0"
depends="py3-twisted"
makedepends="python3-dev py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-prometheus-client py2-prometheus-client"
builddir="$srcdir"/$_pyname-$pkgver
options="!check" # no upstream tests

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cd7e7471c7c6d90681ce54ba41bd9fb94f58b799a63f1fca1987f8a59442ee2321d1d7157a0713f29ac32a49f64bae1e8d97ffc8b1e96e304448ae23cb0eb7de  prometheus_client-0.7.1.tar.gz"