[arch-commits] Commit in python-opentracing/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jun 27 16:14:37 UTC 2020
Date: Saturday, June 27, 2020 @ 16:14:36
Author: felixonmars
Revision: 654968
archrelease: copy trunk to community-any
Added:
python-opentracing/repos/community-any/
python-opentracing/repos/community-any/PKGBUILD
(from rev 654967, python-opentracing/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-opentracing/repos/community-any/PKGBUILD (from rev 654967, python-opentracing/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-06-27 16:14:36 UTC (rev 654968)
@@ -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