From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] Add python-pythondialog Date: Mon, 04 Jul 2016 17:05:07 +0000 Message-ID: <87lh1hcp18.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK7JA-0005Se-Gt for guix-devel@gnu.org; Mon, 04 Jul 2016 13:05:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK7J6-0005Qw-87 for guix-devel@gnu.org; Mon, 04 Jul 2016 13:05:19 -0400 Received: from 93-95-228-168.1984.is ([93.95.228.168]:41089 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK7J5-0005Qd-Q5 for guix-devel@gnu.org; Mon, 04 Jul 2016 13:05:16 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 9a306a52 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Mon, 4 Jul 2016 17:05:11 +0000 (UTC) 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" To: guix-devel@gnu.org >From 7439588d56d9c6935a4f88b46bc3b77a9f57565e Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 4 Jul 2016 16:53:06 +0000 Subject: [PATCH] gnu: Add python-pythondialog. * gnu/packages/python.scm (python-pythondialog): New variable. --- gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a85817d..bd4ce04 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6699,6 +6699,41 @@ 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-pythondialog + (package + (name "python-pythondialog") + (version "3.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pythondialog" version)) + (sha256 + (base32 + "1728ghsran47jczn9bhlnkvk5bvqmmbihabgif5h705b84r1272c")))) + (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)))) + #:tests? #f)) ; no test suite + (propagated-inputs + `(("dialog" ,dialog))) + (home-page + "http://pythondialog.sourceforge.net/") + (synopsis + "A Python interface to the UNIX dialog utility and mostly-compatible programs") + (description + "A Python interface to the UNIX dialog utility and mostly-compatible programs") + (license lgpl2.1))) + (define-public python-pyrfc3339 (package (name "python-pyrfc3339") -- 2.9.0 -- ♥Ⓐ ng0 For non-prism friendly talk find me on http://www.psyced.org SecuShare – http://secushare.org