Date: Tuesday, November 30, 2021 @ 20:23:20 Author: foutrelis Revision: 1058173
archrelease: copy trunk to community-staging-x86_64 Added: python-thrift/repos/community-staging-x86_64/ python-thrift/repos/community-staging-x86_64/PKGBUILD (from rev 1058169, python-thrift/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: python-thrift/repos/community-staging-x86_64/PKGBUILD (from rev 1058169, python-thrift/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-30 20:23:20 UTC (rev 1058173) @@ -0,0 +1,23 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=python-thrift +pkgver=0.14.1 +pkgrel=2 +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=('ef40adddcb8c296ab3340a5b0f59e5ba24d3448f2cc4b25b32db7fae249dbcec') + +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 +}