[arch-commits] Commit in python-aiohttp-openmetrics/repos/community-any (2 files)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sat Sep 3 11:15:07 UTC 2022
Date: Saturday, September 3, 2022 @ 11:15:06
Author: polyzen
Revision: 1291661
archrelease: copy trunk to community-any
Added:
python-aiohttp-openmetrics/repos/community-any/PKGBUILD
(from rev 1291660, python-aiohttp-openmetrics/trunk/PKGBUILD)
Deleted:
python-aiohttp-openmetrics/repos/community-any/PKGBUILD
----------+
PKGBUILD | 51 ++++++++++++++++++++++++++-------------------------
1 file changed, 26 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 11:14:48 UTC (rev 1291660)
+++ PKGBUILD 2022-09-03 11:15:06 UTC (rev 1291661)
@@ -1,25 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=aiohttp-openmetrics
-pkgname=python-aiohttp-openmetrics
-pkgver=0.0.7
-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=('91ce41e6d95c951eaf43f313452821d3607b044870070f4d802f74961c9f2526')
-b2sums=('cb6f5a432847cb6b054237970eee379df3a7a9898b97aa00ffab45de855fa0ecfd906dfe804992e3ccfe7f420daf86f0c4065b7fd24a5f150be808b656e635fd')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-aiohttp-openmetrics/repos/community-any/PKGBUILD (from rev 1291660, python-aiohttp-openmetrics/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-03 11:15:06 UTC (rev 1291661)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=aiohttp-openmetrics
+pkgname=python-aiohttp-openmetrics
+pkgver=0.0.7
+pkgrel=2
+pkgdesc='OpenMetrics provider for aiohttp'
+arch=('any')
+url=https://github.com/jelmer/aiohttp-openmetrics
+license=('Apache')
+depends=('python-aiohttp' 'python-prometheus_client')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('91ce41e6d95c951eaf43f313452821d3607b044870070f4d802f74961c9f2526')
+b2sums=('cb6f5a432847cb6b054237970eee379df3a7a9898b97aa00ffab45de855fa0ecfd906dfe804992e3ccfe7f420daf86f0c4065b7fd24a5f150be808b656e635fd')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list