Date: Thursday, February 11, 2021 @ 22:45:30 Author: anatolik Revision: 856802
archrelease: copy trunk to community-testing-x86_64 Added: python-thrift/repos/community-testing-x86_64/ python-thrift/repos/community-testing-x86_64/PKGBUILD (from rev 856801, python-thrift/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: python-thrift/repos/community-testing-x86_64/PKGBUILD (from rev 856801, python-thrift/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-02-11 22:45:30 UTC (rev 856802) @@ -0,0 +1,23 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=python-thrift +pkgver=0.14.0 +pkgrel=1 +pkgdesc='Python bindings for the Apache Thrift RPC system' +arch=(x86_64) +license=(Apache) +url='https://thrift.apache.org/' +depends=(python) +makedepends=(python-setuptools) +source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip) +sha256sums=('c873cd626b1e8bd01ceb803fd5c60c2757f177a497fd3e0ef8cefafa7063239a') + +check() { + cd thrift-$pkgver/lib/py + # python setup.py test TODO: run tests +} + +package() { + cd thrift-$pkgver/lib/py + python setup.py install --root="$pkgdir" --optimize=1 +}