1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-opentracing
6 pkgdesc="OpenTracing API for Python"
7 url="https://github.com/opentracing/opentracing-python"
11 makedepends=('python-setuptools')
12 checkdepends=('python-gevent' 'python-mock' 'python-pytest' 'python-tornado')
13 source=("https://github.com/opentracing/opentracing-python/archive/$pkgver/$pkgname-$pkgver.tar.gz" "python-3.11-compat.patch")
14 sha512sums=('de5e5a211fd487039e5658fc6303f3521ee038e205d9d1560cb33f3a66fd0de8d666b2adc785fe2683b4993879e5124ba25467feb17fe68b1cbddc0581ca16b3'
15 '920ae7fd81d33957dbc46105a62371022391645a40a23debe52764771f9562e287cae7f3485894bb562ce5bf6f91b6b9ae37a16ff8c1dec6099e235e4fba3dad')
18 cd opentracing-python-$pkgver
19 patch -Np1 -i ${srcdir}/python-3.11-compat.patch
23 cd opentracing-python-$pkgver
28 cd opentracing-python-$pkgver
34 cd opentracing-python-$pkgver
35 python setup.py install --root="$pkgdir" --optimize=1