[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: Add python-pexpect.
From: |
Ricardo Wurmus |
Subject: |
01/08: gnu: Add python-pexpect. |
Date: |
Mon, 12 Oct 2015 14:08:36 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit cb6d5c5468f42f52e82596c7e46bac4a25f3c52a
Author: Ricardo Wurmus <address@hidden>
Date: Tue Sep 22 14:58:16 2015 +0200
gnu: Add python-pexpect.
* gnu/packages/python.scm (python-pexpect, python2-pexpect): New
variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 32b1678..b999b83 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3733,6 +3733,36 @@ cluster without needing to write any wrapper code
yourself.")
(define-public python2-gridmap
(package-with-python2 python-gridmap))
+(define-public python-pexpect
+ (package
+ (name "python-pexpect")
+ (version "3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/p/"
+ "pexpect/pexpect-" version ".tar.gz"))
+ (sha256
+ (base32 "1fp5gm976z7ghm8jw57463rj19cv06c8zw842prgyg788f6n3snz"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check (lambda _ (zero? (system* "nosetests")))))))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (home-page "http://pexpect.readthedocs.org/")
+ (synopsis "Controlling interactive console applications")
+ (description
+ "Pexpect is a pure Python module for spawning child applications;
+controlling them; and responding to expected patterns in their output.
+Pexpect works like Don Libes’ Expect. Pexpect allows your script to spawn a
+child application and control it as if a human were typing commands.")
+ (license isc)))
+
+(define-public python2-pexpect
+ (package-with-python2 python-pexpect))
+
(define-public python-ipython
(package
(name "python-ipython")
- branch master updated (db94f8c -> 2b10eb4), Ricardo Wurmus, 2015/10/15
- 07/08: gnu: Add python-ipython-genutils., Ricardo Wurmus, 2015/10/12
- 05/08: gnu: Add python-pickleshare., Ricardo Wurmus, 2015/10/12
- 01/08: gnu: Add python-pexpect.,
Ricardo Wurmus <=
- 08/08: gnu: Add python-traitlets., Ricardo Wurmus, 2015/10/12
- 02/08: gnu: Add python-setuptools-scm., Ricardo Wurmus, 2015/10/12
- 04/08: gnu: Add python-pathpy., Ricardo Wurmus, 2015/10/12
- 03/08: gnu: Add python-pytest-runner., Ricardo Wurmus, 2015/10/12
- 06/08: gnu: Add python-simplegeneric., Ricardo Wurmus, 2015/10/12