[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Jun 29 09:06:04 UTC 2020
Date: Monday, June 29, 2020 @ 09:06:03
Author: felixonmars
Revision: 656010
addpkg: python-osprofiler 3.2.1-1
Added:
python-osprofiler/
python-osprofiler/repos/
python-osprofiler/trunk/
python-osprofiler/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: python-osprofiler/trunk/PKGBUILD
===================================================================
--- python-osprofiler/trunk/PKGBUILD (rev 0)
+++ python-osprofiler/trunk/PKGBUILD 2020-06-29 09:06:03 UTC (rev 656010)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-osprofiler
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="OpenStack Profiler Library"
+arch=('any')
+url="https://docs.openstack.org/osprofiler/latest/"
+license=('Apache')
+depends=('python-netaddr' 'python-oslo-concurrency' 'python-oslo-serialization' 'python-oslo-utils'
+ 'python-prettytable' 'python-requests' 'python-six' 'python-webob')
+checkdepends=('python-ddt' 'python-docutils' 'python-elasticsearch' 'python-jaeger-client'
+ 'python-pymongo' 'python-redis' 'python-stestr')
+source=("https://github.com/openstack/osprofiler/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b68922e63571c02903bb2a961e2159635b3a4c003a01649466abe3aa6f034ad0e2a777e6d02863d1d7b5343c5c562bdfdc6fa57bb7bfe7ab650ff931e6aa77a1')
+
+export PBR_VERSION=$pkgver
+
+build() {
+ cd osprofiler-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd osprofiler-$pkgver
+ stestr run
+}
+
+package() {
+ cd osprofiler-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list