[arch-commits] Commit in python-jaeger-client/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:59:07 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:59:07
  Author: felixonmars
Revision: 749212

archrelease: copy trunk to community-staging-any

Added:
  python-jaeger-client/repos/community-staging-any/
  python-jaeger-client/repos/community-staging-any/PKGBUILD
    (from rev 749211, python-jaeger-client/trunk/PKGBUILD)

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

Copied: python-jaeger-client/repos/community-staging-any/PKGBUILD (from rev 749211, python-jaeger-client/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:59:07 UTC (rev 749212)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jaeger-client
+pkgver=4.3.0
+pkgrel=2
+pkgdesc="Jaeger Python OpenTracing Tracer implementation"
+url="https://github.com/jaegertracing/jaeger-client-python"
+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
+}



More information about the arch-commits mailing list