[arch-commits] Commit in python-tubes/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 04:25:43 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:25:42
  Author: foutrelis
Revision: 519993

archrelease: copy trunk to community-staging-any

Added:
  python-tubes/repos/community-staging-any/
  python-tubes/repos/community-staging-any/PKGBUILD
    (from rev 519991, python-tubes/trunk/PKGBUILD)

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

Copied: python-tubes/repos/community-staging-any/PKGBUILD (from rev 519991, python-tubes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:25:42 UTC (rev 519993)
@@ -0,0 +1,29 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-tubes
+pkgver=0.2.0
+pkgrel=2
+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