[arch-commits] Commit in (4 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Jun 8 06:46:13 UTC 2019


    Date: Saturday, June 8, 2019 @ 06:46:13
  Author: yan12125
Revision: 478217

python-tubes: added for the new python-klein

Added:
  python-tubes/
  python-tubes/repos/
  python-tubes/trunk/
  python-tubes/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: python-tubes/trunk/PKGBUILD
===================================================================
--- python-tubes/trunk/PKGBUILD	                        (rev 0)
+++ python-tubes/trunk/PKGBUILD	2019-06-08 06:46:13 UTC (rev 478217)
@@ -0,0 +1,29 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-tubes
+pkgver=0.2.0
+pkgrel=1
+arch=(any)
+pkgdesc='A data-processing and flow-control engine for event-driven programs'
+url='https://github.com/twisted/Tubes'
+license=(MIT)
+depends=(python python-characteristic python-six python-twisted)
+makedepends=(python-setuptools)
+source=("https://github.com/twisted/tubes/archive/v$pkgver/tubes-v$pkgver.tar.gz")
+sha512sums=('6039a3059b61f8a0c84d4e10bb47d9f2bb95505b0353cb0f1eefb6942f0ad0d88c9b02ff0d48ed0300d615d3e3203c5e884990cd6d006c2f1dbd18b88fcb2e9e')
+
+build() {
+  cd tubes-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd tubes-$pkgver
+  PYTHONPATH=. trial3 tubes
+}
+
+package() {
+  cd tubes-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list