Date: Monday, June 29, 2020 @ 09:02:57
  Author: felixonmars
Revision: 656003

addpkg: python-jaeger-client 4.3.0-1

Added:
  python-jaeger-client/
  python-jaeger-client/repos/
  python-jaeger-client/trunk/
  python-jaeger-client/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: python-jaeger-client/trunk/PKGBUILD
===================================================================
--- python-jaeger-client/trunk/PKGBUILD                         (rev 0)
+++ python-jaeger-client/trunk/PKGBUILD 2020-06-29 09:02:57 UTC (rev 656003)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=python-jaeger-client
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="Jaeger Python OpenTracing Tracer implementation"
+url="https://github.com/jaegertracing/jaeger-client";
+license=('Apache')
+arch=('any')
+depends=('python-opentracing' 'python-threadloop' 'python-thrift' 
'python-tornado')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-prometheus_client' 'python-pycurl' 
'python-pytest-benchmark' 'python-pytest-localserver')
+source=("https://github.com/jaegertracing/jaeger-client-python/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('c8255e28ea1d9c37fa0db9891e3120b283fa1cc2e9e7536c132342ad721ab432bd68dd8fe5a6a177bdf0aae81609708d6f6bda483799a63dcd3f8bf1dbc3ca51')
+
+build() {
+  cd jaeger-client-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd jaeger-client-python-$pkgver
+  # Tracer test dependencies don't support new Tornado
+  pytest --deselect tests/test_prometheus.py --deselect tests/test_tracer.py 
--deselect tests/test_tracer_benchmark.py
+}
+
+package() {
+  cd jaeger-client-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to