[arch-commits] Commit in python-terminado/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 25 18:53:14 UTC 2016
Date: Sunday, December 25, 2016 @ 18:53:13
Author: bpiotrowski
Revision: 202288
archrelease: copy trunk to community-staging-any
Added:
python-terminado/repos/community-staging-any/
python-terminado/repos/community-staging-any/PKGBUILD
(from rev 202287, python-terminado/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-terminado/repos/community-staging-any/PKGBUILD (from rev 202287, python-terminado/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-25 18:53:13 UTC (rev 202288)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Will Shanks <wsha dot code at g mail dot com>
+
+pkgbase=python-terminado
+pkgname=(python-terminado python2-terminado)
+_pkgname=terminado
+pkgver=0.6
+pkgrel=2
+pkgdesc="Terminals served to term.js using Tornado websockets"
+url="https://github.com/takluyver/terminado"
+arch=('any')
+license=('BSD')
+depends=('python-tornado' 'python-ptyprocess')
+makedepends=('python-setuptools' 'python2-setuptools'
+ 'python-tornado' 'python-ptyprocess'
+ 'python2-tornado' 'python2-ptyprocess')
+source=("http://pypi.python.org/packages/source/t/$_pkgname/$_pkgname-$pkgver.tar.gz"
+ 'https://raw.githubusercontent.com/takluyver/terminado/master/LICENSE.txt')
+md5sums=('5b6c65da27fe1ed07a9f80f0588cdaba'
+ '242c3ea7df130edf77dc0e088ac1847c')
+
+prepare() {
+ cd "$srcdir"
+ cp -r $_pkgname-$pkgver ${_pkgname}2-$pkgver
+}
+
+package_python-terminado() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+ install -Dm644 "$srcdir/LICENSE.txt" "$pkgdir/usr/share/licenses/python-$_pkgname/LICENSE"
+}
+
+package_python2-terminado() {
+ depends=('python2-tornado' 'python2-ptyprocess')
+ cd "$srcdir/${_pkgname}2-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+ install -Dm644 "$srcdir/LICENSE.txt" "$pkgdir/usr/share/licenses/python2-$_pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list