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

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Jan 9 23:58:38 UTC 2022


    Date: Sunday, January 9, 2022 @ 23:58:38
  Author: polyzen
Revision: 1098772

archrelease: copy trunk to community-any

Added:
  python-aiohttp-openmetrics/repos/community-any/
  python-aiohttp-openmetrics/repos/community-any/PKGBUILD
    (from rev 1098771, python-aiohttp-openmetrics/trunk/PKGBUILD)

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

Copied: python-aiohttp-openmetrics/repos/community-any/PKGBUILD (from rev 1098771, python-aiohttp-openmetrics/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2022-01-09 23:58:38 UTC (rev 1098772)
@@ -0,0 +1,27 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=aiohttp-openmetrics
+pkgname=python-aiohttp-openmetrics
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='OpenMetrics provider for aiohttp'
+arch=('any')
+url=https://github.com/jelmer/aiohttp-openmetrics
+license=('Apache')
+depends=('python-aiohttp' 'python-prometheus_client')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('4bc4edb292907fb68f5938e1d17c7bf59b4a1617c581ac199782a63c887a4f1d')
+b2sums=('3bc914d5d14dde8b562946e9b3212037bd48df2fba4ef0b0489e9ce4abf4b0d6f43107696b3ca93bb892b19d466202741fc4fd67b20be0b7a4e6f4c9b6f42a4e')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list