[arch-commits] Commit in python-prometheus_client/repos/extra-any (PKGBUILD PKGBUILD)

Johannes Löthberg demize at archlinux.org
Sun Aug 11 17:28:52 UTC 2019


    Date: Sunday, August 11, 2019 @ 17:28:52
  Author: demize
Revision: 359621

archrelease: copy trunk to extra-any

Added:
  python-prometheus_client/repos/extra-any/PKGBUILD
    (from rev 359620, python-prometheus_client/trunk/PKGBUILD)
Deleted:
  python-prometheus_client/repos/extra-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-11 17:28:49 UTC (rev 359620)
+++ PKGBUILD	2019-08-11 17:28:52 UTC (rev 359621)
@@ -1,52 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgname=(python-prometheus_client python2-prometheus_client)
-pkgver=0.6.0
-pkgrel=1
-
-pkgdesc="Prometheus instrumentation library for Python applications"
-url="https://github.com/prometheus/client_python"
-arch=('any')
-license=('APACHE')
-
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools')
-checkdepends=('python-twisted' 'python-pytest'
-              'python2-twisted' 'python2-pytest' 'python2-futures')
-
-source=(client_python-$pkgver.tar.gz::https://github.com/prometheus/client_python/archive/v${pkgver}.tar.gz)
-sha512sums=('a2b92683f939961c567c266a54699de6f37088cd4e61c9d9a5f4451228b4c3bfa4c517e4a5187867f5463d726a8dc6e7fdae30973c1e9aa9aa1a03247b2e99cd')
-
-prepare() {
-  cp -r client_python-$pkgver client_python-$pkgver-py2
-}
-
-build() {
-  cd client_python-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/client_python-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd client_python-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/client_python-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-prometheus_client() {
-  depends=('python')
-
-  cd client_python-$pkgver
-  python setup.py install --root="$pkgdir" --skip-build --optimize=1
-}
-
-package_python2-prometheus_client() {
-  depends=('python2')
-
-  cd client_python-$pkgver
-  python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
-}

Copied: python-prometheus_client/repos/extra-any/PKGBUILD (from rev 359620, python-prometheus_client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-11 17:28:52 UTC (rev 359621)
@@ -0,0 +1,33 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-prometheus_client
+pkgver=0.7.1
+pkgrel=1
+
+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