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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:45:39 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:45:39
  Author: foutrelis
Revision: 752799

archrelease: copy trunk to community-staging-any

Added:
  python-basictracer/repos/community-staging-any/
  python-basictracer/repos/community-staging-any/PKGBUILD
    (from rev 752798, python-basictracer/trunk/PKGBUILD)

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

Copied: python-basictracer/repos/community-staging-any/PKGBUILD (from rev 752798, python-basictracer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:45:39 UTC (rev 752799)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-basictracer
+pkgver=3.1.0
+pkgrel=2
+pkgdesc='The Python implementation of the "BasicTracer" reference implementation'
+url="https://github.com/opentracing/basictracer"
+license=('MIT')
+arch=('any')
+depends=('python-opentracing' 'python-protobuf' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest')
+source=("https://github.com/opentracing/basictracer-python/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('c744e8a64b59e688c5048493aa8739da35d3c3580c65bb561d94c0ce0d27fb26d5e99b12d09a8f7d3ca63bc1a98ebcac6e1c6fec7c2361c0734311d623047157')
+
+build() {
+  cd basictracer-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd basictracer-python-$pkgver
+  pytest
+}
+
+package() {
+  cd basictracer-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list