[arch-commits] Commit in python-tubes/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 20:12:45 UTC 2020
Date: Monday, November 9, 2020 @ 20:12:45
Author: felixonmars
Revision: 748146
archrelease: copy trunk to community-staging-any
Added:
python-tubes/repos/community-staging-any/
python-tubes/repos/community-staging-any/PKGBUILD
(from rev 748144, python-tubes/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-tubes/repos/community-staging-any/PKGBUILD (from rev 748144, python-tubes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 20:12:45 UTC (rev 748146)
@@ -0,0 +1,29 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-tubes
+pkgver=0.2.0
+pkgrel=4
+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