[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 27 16:14:22 UTC 2020


    Date: Saturday, June 27, 2020 @ 16:14:22
  Author: felixonmars
Revision: 654967

addpkg: python-opentracing 2.3.0-1

Added:
  python-opentracing/
  python-opentracing/repos/
  python-opentracing/trunk/
  python-opentracing/trunk/PKGBUILD

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

Added: python-opentracing/trunk/PKGBUILD
===================================================================
--- python-opentracing/trunk/PKGBUILD	                        (rev 0)
+++ python-opentracing/trunk/PKGBUILD	2020-06-27 16:14:22 UTC (rev 654967)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-opentracing
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="OpenTracing API for Python"
+url="https://github.com/opentracing/opentracing-python"
+license=('Apache')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-gevent' 'python-mock' 'python-pytest' 'python-tornado')
+source=("https://github.com/opentracing/opentracing-python/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('59e9459be56018e54d6e33d42fd2c0e1eb6cd3eaffdaddd5371cae055bf2a710d9c2ce74f4ab77e24808d4b0237a88150c02d5583dfffc6a107a2fcd5479bac9')
+
+build() {
+  cd opentracing-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd opentracing-python-$pkgver
+  pytest tests
+  python -m testbed
+}
+
+package() {
+  cd opentracing-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list