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

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:27:59 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:27:59
  Author: felixonmars
Revision: 1063027

archrelease: copy trunk to community-staging-any

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

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

Copied: python-basictracer/repos/community-staging-any/PKGBUILD (from rev 1063025, python-basictracer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:27:59 UTC (rev 1063027)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-basictracer
+pkgver=3.2.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=('48923ca75b459401ab604174a62c611ea44c5904709260d0635dc0436f5c0d88b7564d2fcf68a3fd18f3825ba615347bed7e79a41f303745ca7de282bbd4c61c')
+
+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