Date: Friday, November 20, 2020 @ 20:19:06 Author: jelle Revision: 401578
archrelease: copy trunk to staging-any Added: python-prometheus_client/repos/staging-any/PKGBUILD (from rev 401577, python-prometheus_client/trunk/PKGBUILD) Deleted: python-prometheus_client/repos/staging-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-20 20:18:56 UTC (rev 401577) +++ PKGBUILD 2020-11-20 20:19:06 UTC (rev 401578) @@ -1,34 +0,0 @@ -# Maintainer: Johannes Löthberg <johan...@kyriasis.com> - -pkgname=python-prometheus_client -pkgver=0.8.0 -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=('a9d49bc4dac77168f94edf51344042bc5210b07ed01031dc50e323f86ea8292df7370956a4fbd9d9f85a0857a8ec9abaef30c0c2cd4dc5502df7264816eecc8f') - -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/staging-any/PKGBUILD (from rev 401577, python-prometheus_client/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-20 20:19:06 UTC (rev 401578) @@ -0,0 +1,34 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> + +pkgname=python-prometheus_client +pkgver=0.9.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=('1d68ca35169972c50bb56ede88c47408ee27b3e795fcf03798313aed2dbc5db5532fe6886998c118258b76e431c6e49aa0ac19b9206cad63711901497258aaa5') + +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 +}