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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:43:55 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:43:55
  Author: felixonmars
Revision: 1058981

archrelease: copy trunk to community-staging-any

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

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

Copied: python-tubes/repos/community-staging-any/PKGBUILD (from rev 1058980, python-tubes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:43:55 UTC (rev 1058981)
@@ -0,0 +1,29 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-tubes
+pkgver=0.2.0
+pkgrel=6
+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=. trial 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