unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 09/12] gnu: Add python-ptyprocess.
@ 2015-07-24 14:18 Federico Beffa
  0 siblings, 0 replies; only message in thread
From: Federico Beffa @ 2015-07-24 14:18 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 5 bytes --]

Fede

[-- Attachment #2: 0009-gnu-Add-python-ptyprocess.patch --]
[-- Type: text/x-diff, Size: 2276 bytes --]

From 5f45b36859e96ccc19e0852872677916c08398c2 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Thu, 23 Jul 2015 11:46:15 +0200
Subject: [PATCH 09/12] gnu: Add python-ptyprocess.

* gnu/packages/python.scm (python-ptyprocess, python2-ptyprocess): New
  variables.
---
 gnu/packages/python.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0718cd8..9243cf7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -29,7 +29,7 @@
   #:use-module ((guix licenses)
                 #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style
                           gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+
-                          psfl public-domain x11-style))
+                          psfl public-domain x11-style isc))
   #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:)
   #:use-module (gnu packages)
   #:use-module (gnu packages compression)
@@ -4246,3 +4246,36 @@ complexity of Python source code.")
 
 (define-public python2-mistune
   (package-with-python2 python-mistune))
+
+(define-public python-ptyprocess
+  (package
+    (name "python-ptyprocess")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0nggns5kikn32yyda2zrj1xdmh49pi3v0drggcdwljbv36r8zdyw"))))
+    (build-system python-build-system)
+    (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/pexpect/ptyprocess")
+    (synopsis "Run a subprocess in a pseudo terminal")
+    (description
+     "Python library use to launch a subprocess in a pseudo terminal (pty),
+and interact with both the process and its pty.")
+    (license isc)))
+
+(define-public python2-ptyprocess
+  (package-with-python2 python-ptyprocess))
-- 
2.2.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-24 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 14:18 [PATCH 09/12] gnu: Add python-ptyprocess Federico Beffa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).