[arch-commits] Commit in python-thrift/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Feb 7 22:31:12 UTC 2020
Date: Friday, February 7, 2020 @ 22:31:12
Author: anatolik
Revision: 563772
archrelease: copy trunk to community-x86_64
Added:
python-thrift/repos/community-x86_64/
python-thrift/repos/community-x86_64/PKGBUILD
(from rev 563771, python-thrift/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-thrift/repos/community-x86_64/PKGBUILD (from rev 563771, python-thrift/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-02-07 22:31:12 UTC (rev 563772)
@@ -0,0 +1,23 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=python-thrift
+pkgver=0.13.0
+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/$_pkgname/archive/$pkgver.zip)
+sha256sums=('4ed6254847b9c632fb64e5ba700a4cefa441af2b53bfc6ff91206fe5771be74f')
+
+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
+}
More information about the arch-commits
mailing list