[arch-commits] Commit in python-prometheus_client/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:38:45 UTC 2019
Date: Friday, October 25, 2019 @ 15:38:44
Author: felixonmars
Revision: 365634
archrelease: copy trunk to staging-any
Added:
python-prometheus_client/repos/staging-any/
python-prometheus_client/repos/staging-any/PKGBUILD
(from rev 365633, python-prometheus_client/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-prometheus_client/repos/staging-any/PKGBUILD (from rev 365633, python-prometheus_client/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-10-25 15:38:44 UTC (rev 365634)
@@ -0,0 +1,33 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-prometheus_client
+pkgver=0.7.1
+pkgrel=2
+
+pkgdesc="Prometheus instrumentation library for Python applications"
+url="https://github.com/prometheus/client_python"
+arch=('any')
+license=('APACHE')
+
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-twisted' 'python-pytest')
+
+source=(client_python-$pkgver.tar.gz::https://github.com/prometheus/client_python/archive/v${pkgver}.tar.gz)
+
+sha512sums=('84b145ed191c9903d390b152c72de4f2afcb4c500b8debba59ded081f00cc76109b336ed2d7783d59e9922ea2927632f7ef730f336974294b20048c51e9d58a4')
+
+build() {
+ cd client_python-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd client_python-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd client_python-$pkgver
+ python setup.py install --root="$pkgdir" --skip-build --optimize=1
+}
More information about the arch-commits
mailing list