[arch-commits] Commit in python-osprofiler/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Jun 29 09:06:14 UTC 2020
Date: Monday, June 29, 2020 @ 09:06:13
Author: felixonmars
Revision: 656012
archrelease: copy trunk to community-any
Added:
python-osprofiler/repos/community-any/
python-osprofiler/repos/community-any/PKGBUILD
(from rev 656011, python-osprofiler/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-osprofiler/repos/community-any/PKGBUILD (from rev 656011, python-osprofiler/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-06-29 09:06:13 UTC (rev 656012)
@@ -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