Date: Thursday, April 7, 2022 @ 11:16:27 Author: jelle Revision: 441709
archrelease: copy trunk to extra-any Added: python-prometheus_client/repos/extra-any/PKGBUILD (from rev 441708, python-prometheus_client/trunk/PKGBUILD) Deleted: python-prometheus_client/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-07 11:16:19 UTC (rev 441708) +++ PKGBUILD 2022-04-07 11:16:27 UTC (rev 441709) @@ -1,34 +0,0 @@ -# Maintainer: Johannes Löthberg <johan...@kyriasis.com> - -pkgname=python-prometheus_client -pkgver=0.13.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=('8d5263ff00fc4797fa65a446bdab4dc3c717cc091f8cee571fdd2130febc480cc61e73e11145ac2bf9bc0eee132efc92d88a4d4facd61d515234748791a92255') - -build() { - cd client_python-$pkgver - python setup.py build -} - -check() { - cd client_python-$pkgver - # Make reproducible by not writing pyc files for test files. (rebuilderd does not run tests) - PYTHONDONTWRITEBYTECODE=1 python setup.py test -} - -package() { - cd client_python-$pkgver - python setup.py install --root="$pkgdir" --skip-build --optimize=1 -} Copied: python-prometheus_client/repos/extra-any/PKGBUILD (from rev 441708, python-prometheus_client/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-07 11:16:27 UTC (rev 441709) @@ -0,0 +1,34 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> + +pkgname=python-prometheus_client +pkgver=0.14.0 +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=('6543756b7fcd4b4a1734397c3fc25b14e00c9910133afc89f9836591e554c73a4a9fa4f3bc14b4fca2c922b6c160c769a4da435b337d0709f1884bde67008f7e') + +build() { + cd client_python-$pkgver + python setup.py build +} + +check() { + cd client_python-$pkgver + # Make reproducible by not writing pyc files for test files. (rebuilderd does not run tests) + PYTHONDONTWRITEBYTECODE=1 python setup.py test +} + +package() { + cd client_python-$pkgver + python setup.py install --root="$pkgdir" --skip-build --optimize=1 +}