[arch-commits] Commit in python-prometheus_client/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 10:54:29 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:54:29
  Author: felixonmars
Revision: 384210

archrelease: copy trunk to staging-any

Added:
  python-prometheus_client/repos/staging-any/
  python-prometheus_client/repos/staging-any/PKGBUILD
    (from rev 384209, python-prometheus_client/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-prometheus_client/repos/staging-any/PKGBUILD (from rev 384209, python-prometheus_client/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 10:54:29 UTC (rev 384210)
@@ -0,0 +1,33 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-prometheus_client
+pkgver=0.7.1
+pkgrel=4
+
+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