diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2016-04-25 17:19:54 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2016-04-25 17:19:54 +0300 |
commit | 783fb0a3a29cfc7283729bfb6ea0dce9b9e0b293 (patch) | |
tree | b2ce37f14b8ab1509e2560e604cde8d4642ffc5c | |
parent | bdb67d846cf6c1c3aefdc85611854a5db0416e66 (diff) | |
download | patches-783fb0a3a29cfc7283729bfb6ea0dce9b9e0b293.tar patches-783fb0a3a29cfc7283729bfb6ea0dce9b9e0b293.tar.gz |
gnu: python-terminado: Update to 0.6.
* gnu/packages/python.scm (python-terminado): Update to 0.6.
[inputs]: Remove python-setuptools. Move python-nose ...
[native-inputs]: ... to here.
[properties]: Define python2-variant.
(python2-terminado): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
-rw-r--r-- | gnu/packages/python.scm | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2e9d1f026a..2a6bac79fc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -5304,23 +5304,20 @@ pseudo terminal (pty), and interact with both the process and its pty.") (define-public python-terminado (package (name "python-terminado") - (version "0.5") + (version "0.6") (source (origin (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/t/terminado/terminado-" - version ".tar.gz")) + (uri (pypi-uri "terminado" version)) (sha256 (base32 - "1dkmp1n8dj5v1jl9mfrq8lwyc7dsfrvcmz2bgkpg315sy7pr7s33")))) + "09h1kwi86g5mrk14s4pgbhshd602zry29lnpxamcqz864kva22rc")))) (build-system python-build-system) (propagated-inputs `(("python-tornado" ,python-tornado) ("python-ptyprocess" ,python-ptyprocess))) - (inputs - `(("python-setuptools" ,python-setuptools) - ("python-nose" ,python-nose))) + (native-inputs + `(("python-nose" ,python-nose))) (arguments `(#:phases (modify-phases %standard-phases @@ -5331,17 +5328,19 @@ pseudo terminal (pty), and interact with both the process and its pty.") (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))) + (license bsd-2) + (properties `((python2-variant . ,(delay python2-terminado)))))) (define-public python2-terminado - (let ((terminado (package-with-python2 python-terminado))) + (let ((terminado (package-with-python2 (strip-python2-variant 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))))))) + (propagated-inputs + `(("python2-backport-ssl-match-hostname" + ,python2-backport-ssl-match-hostname) + ,@(package-propagated-inputs terminado))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools) + ,@(package-native-inputs terminado)))))) (define-public python-fonttools (package |