From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 03/10] gnu: Add python-cmd2. Date: Fri, 29 Apr 2016 16:20:56 +0200 Message-ID: <1461939663-5936-4-git-send-email-tipecaml@gmail.com> References: <1461939663-5936-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9Ih-00074n-Oy for guix-devel@gnu.org; Fri, 29 Apr 2016 10:21:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw9IV-0001MX-Um for guix-devel@gnu.org; Fri, 29 Apr 2016 10:21:42 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:35263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9IU-0001G8-MA for guix-devel@gnu.org; Fri, 29 Apr 2016 10:21:35 -0400 Received: by mail-wm0-x242.google.com with SMTP id e201so5416925wme.2 for ; Fri, 29 Apr 2016 07:21:20 -0700 (PDT) In-Reply-To: <1461939663-5936-1-git-send-email-tipecaml@gmail.com> 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 * gnu/packages/python.scm (python-cmd2, python2-cmd2): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 99d1d3e..11ad08d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8693,3 +8693,34 @@ respectively.") (define-public python2-cysignals (package-with-python2 python-cysignals)) +(define-public python-cmd2 + (package + (name "python-cmd2") + (version "0.6.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/20/65/" + "6e5518c6bbfe9fe33be1364a6e83d372f837019dfdb31b207b2db3d84865/" + "cmd2-" version ".tar.gz")) + (sha256 + (base32 + "1a346zcd46c8gwbbp2cxsmvgfkyy26kwxjzdnkv7n47w6660sy5c")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (inputs + `(("python-pyparsing" ,python-pyparsing))) + (home-page "https://github.com/python-cmd2/cmd2") + (synopsis + "Extra features for standard library's cmd module") + (description + "Drop-in replacement for the standard library's cmd module that adds +features such as multiline commands, case-insensitive commands or a +searchable history.") + (license expat))) + +(define-public python2-cmd2 + (package-with-python2 python-cmd2)) + -- 2.6.2