[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/12: gnu: Add python-terminado.
From: |
Federico Beffa |
Subject: |
10/12: gnu: Add python-terminado. |
Date: |
Sat, 01 Aug 2015 10:39:20 +0000 |
beffa pushed a commit to branch master
in repository guix.
commit 4aadb1dff7995d96261607d5b032ebc9656516a4
Author: Federico Beffa <address@hidden>
Date: Thu Jul 23 12:36:37 2015 +0200
gnu: Add python-terminado.
* gnu/packages/python.scm (python-terminado, python2-terminado): New
variables.
---
gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c97cf9d..96fe831 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4604,3 +4604,45 @@ pseudo terminal (pty), and interact with both the
process and its pty.")
(define-public python2-ptyprocess
(package-with-python2 python-ptyprocess))
+
+(define-public python-terminado
+ (package
+ (name "python-terminado")
+ (version "0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/t/terminado/terminado-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1dkmp1n8dj5v1jl9mfrq8lwyc7dsfrvcmz2bgkpg315sy7pr7s33"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-tornado" ,python-tornado)
+ ("python-ptyprocess" ,python-ptyprocess)))
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-nose" ,python-nose)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "nosetests")))))))
+ (home-page "https://github.com/takluyver/terminado")
+ (synopsis "Terminals served to term.js using Tornado websockets")
+ (description "This package provides a Tornado websocket backend for the
+term.js Javascript terminal emulator library.")
+ (license bsd-2)))
+
+(define-public python2-terminado
+ (let ((terminado (package-with-python2 python-terminado)))
+ (package (inherit terminado)
+ (propagated-inputs
+ `(("python2-tornado" ,python2-tornado)
+ ("python2-backport-ssl-match-hostname"
+ ,python2-backport-ssl-match-hostname)
+ ,@(alist-delete "python-tornado"
+ (package-propagated-inputs terminado)))))))
- 03/12: import: elpa: Improve error message reporting., (continued)
- 03/12: import: elpa: Improve error message reporting., Federico Beffa, 2015/08/01
- 05/12: gnu: Add emacs-s., Federico Beffa, 2015/08/01
- 01/12: gnu: Add fastcap., Federico Beffa, 2015/08/01
- 04/12: gnu: Add emacs-dash., Federico Beffa, 2015/08/01
- 06/12: build: emacs: Fix bug and improvement robustness., Federico Beffa, 2015/08/01
- 02/12: gnu: Add fasthenry., Federico Beffa, 2015/08/01
- 08/12: gnu: Add python-mistune., Federico Beffa, 2015/08/01
- 07/12: gnu: Add emacs-f., Federico Beffa, 2015/08/01
- 09/12: gnu: Add python-ptyprocess., Federico Beffa, 2015/08/01
- 12/12: gnu: Add emacs-ob-ipython., Federico Beffa, 2015/08/01
- 10/12: gnu: Add python-terminado.,
Federico Beffa <=
- 11/12: gnu: python-ipython: Update to 3.2.1., Federico Beffa, 2015/08/01