From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 17/23] gnu: Add python2-pythondialog. Date: Tue, 24 Nov 2015 16:02:17 -0500 Message-ID: References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1KhS-0002Ep-20 for guix-devel@gnu.org; Tue, 24 Nov 2015 16:00:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1KhQ-0003cw-SV for guix-devel@gnu.org; Tue, 24 Nov 2015 16:00:29 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:37987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1KhQ-0003cm-PN for guix-devel@gnu.org; Tue, 24 Nov 2015 16:00:28 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 89E52680241 for ; Tue, 24 Nov 2015 16:00:24 -0500 (EST) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python2-pythondialog): New variable. --- gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4462591..04d95ee 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6236,9 +6236,45 @@ Architecture. Together with the zope.interface package, it provides facilities for defining, registering and looking up components.") (license zpl2.1))) + (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 outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (substitute* "dialog.py" + ((":/bin:/usr/bin") + (string-append out "/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") -- 2.6.2