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

Kyle Keen kkeen at archlinux.org
Sun Sep 20 13:33:16 UTC 2015


    Date: Sunday, September 20, 2015 @ 15:33:16
  Author: kkeen
Revision: 141276

archrelease: copy trunk to community-staging-any

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

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

Copied: python-terminado/repos/community-staging-any/PKGBUILD (from rev 141275, python-terminado/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 13:33:16 UTC (rev 141276)
@@ -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.5
+pkgrel=3
+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=('e992c6262a5f4c8952fee93da31a067e'
+         '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