aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-prometheus-client
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-08-01 23:21:04 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-08-01 19:44:03 -0300
commit70d44c1907e278612c365dddf8fef886a36a398b (patch)
treed386ea8eb9d56fa9d4339f2528f06f79cd38bb50 /testing/py3-prometheus-client
parent11cfe4dd1666223714141c2462305137c3eface9 (diff)
downloadaports-70d44c1907e278612c365dddf8fef886a36a398b.tar.bz2
aports-70d44c1907e278612c365dddf8fef886a36a398b.tar.xz
testing/py3-prometheus-client: new aport
Diffstat (limited to 'testing/py3-prometheus-client')
-rw-r--r--testing/py3-prometheus-client/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/py3-prometheus-client/APKBUILD b/testing/py3-prometheus-client/APKBUILD
new file mode 100644
index 0000000000..11fda2d344
--- /dev/null
+++ b/testing/py3-prometheus-client/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-prometheus-client
+pkgver=0.7.1
+pkgrel=0
+pkgdesc="Python3 client for the Prometheus monitoring system"
+url="https://github.com/prometheus/client_python"
+arch="noarch"
+license="Apache-2.0"
+depends="python3 py3-twisted"
+makedepends="python3-dev py3-setuptools"
+options="!check" # Pypi tarballs come without tests
+source="https://pypi.io/packages/source/p/prometheus_client/prometheus_client-$pkgver.tar.gz"
+builddir="$srcdir/prometheus_client-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="cd7e7471c7c6d90681ce54ba41bd9fb94f58b799a63f1fca1987f8a59442ee2321d1d7157a0713f29ac32a49f64bae1e8d97ffc8b1e96e304448ae23cb0eb7de prometheus_client-0.7.1.tar.gz"