[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/23: gnu: Add python2-pythondialog.
From: |
David Thompson |
Subject: |
17/23: gnu: Add python2-pythondialog. |
Date: |
Sat, 05 Dec 2015 14:50:52 +0000 |
davexunit pushed a commit to branch master
in repository guix.
commit b5f218be26d8a4f683bcece76ac10314cb58b326
Author: Leo Famulari <address@hidden>
Date: Mon Nov 23 23:46:09 2015 -0500
gnu: Add python2-pythondialog.
* gnu/packages/python.scm (python2-pythondialog): New variable.
---
gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4e69e74..05de993 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6342,6 +6342,43 @@ facilities for defining, registering and looking up
components.")
(define-public python2-zope-component
(package-with-python2 python-zope-component))
+(define-public python2-pythondialog
+ (package
+ (name "python2-pythondialog")
+ (version "3.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/p/"
+ "python2-pythondialog/python2-pythondialog-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yhkagsh99bfi592ymczf8rnw8rk6n9hdqy3dd98m3yrx8zmjvry"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((dialog (assoc-ref inputs "dialog")))
+ ;; Since this library really wants to grovel the search path, we
+ ;; must hardcode dialog's store path into it.
+ (substitute* "dialog.py"
+ (("os.getenv\\(\"PATH\", \":/bin:/usr/bin\"\\)")
+ (string-append "os.getenv(\"PATH\") + \":" dialog
"/bin\"")))
+ #t))))
+ #:python ,python-2
+ #:tests? #f)) ; no test suite
+ (propagated-inputs
+ `(("dialog" ,dialog)))
+ (home-page "http://pythondialog.sourceforge.net/")
+ (synopsis "Python interface to the UNIX dialog utility")
+ (description "A Python wrapper for the dialog utility. Its purpose is to
+provide an easy to use, pythonic and comprehensive Python interface to dialog.
+This allows one to make simple text-mode user interfaces on Unix-like systems")
+ (license lgpl2.1)))
+
(define-public python-pyrfc3339
(package
(name "python-pyrfc3339")
- 08/23: gnu: Add python-zope-configuration., (continued)
- 08/23: gnu: Add python-zope-configuration., David Thompson, 2015/12/05
- 09/23: gnu: Add python-zope-proxy., David Thompson, 2015/12/05
- 06/23: gnu: Add python-zope-i18nmessageid., David Thompson, 2015/12/05
- 07/23: gnu: Add python-zope-schema., David Thompson, 2015/12/05
- 10/23: gnu: Add python-zope-location., David Thompson, 2015/12/05
- 11/23: gnu: Add python-zope-security., David Thompson, 2015/12/05
- 13/23: gnu: Add python-pyrfc3339., David Thompson, 2015/12/05
- 12/23: gnu: Add python-zope-component., David Thompson, 2015/12/05
- 14/23: gnu: Add python-werkzeug., David Thompson, 2015/12/05
- 16/23: gnu: Add dialog., David Thompson, 2015/12/05
- 17/23: gnu: Add python2-pythondialog.,
David Thompson <=
- 21/23: gnu: Add python2-parsedatetime., David Thompson, 2015/12/05
- 20/23: gnu: python-parsedatetime: Update to 1.5., David Thompson, 2015/12/05
- 15/23: gnu: Add python-configobj., David Thompson, 2015/12/05
- 18/23: gnu: Add python-configargparse., David Thompson, 2015/12/05
- 19/23: gnu: Add python-ndg-httpsclient., David Thompson, 2015/12/05
- 22/23: gnu: Add acme., David Thompson, 2015/12/05
- 23/23: gnu: Add letsencrypt., David Thompson, 2015/12/05