From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 1/5] gnu: Add python-prettytable Date: Thu, 17 Sep 2015 16:23:45 +0200 Message-ID: <1442499829-13894-2-git-send-email-tipecaml@gmail.com> References: <1442499829-13894-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zca6U-0000me-Es for guix-devel@gnu.org; Thu, 17 Sep 2015 10:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zca6P-0003SN-Oi for guix-devel@gnu.org; Thu, 17 Sep 2015 10:24:02 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:36771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zca6P-0003SD-Hy for guix-devel@gnu.org; Thu, 17 Sep 2015 10:23:57 -0400 Received: by wicgb1 with SMTP id gb1so120333568wic.1 for ; Thu, 17 Sep 2015 07:23:56 -0700 (PDT) In-Reply-To: <1442499829-13894-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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-prettytable, python2-prettytable): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 408064d..1818993 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4880,3 +4880,31 @@ object to help create WSGI responses.") (define-public python2-webob (package-with-python2 python-webob)) + +(define-public python-prettytable + (package + (name "python-prettytable") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/P/PrettyTable/" + "prettytable-" version ".tar.bz2")) + (sha256 + (base32 + "0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://code.google.com/p/prettytable/") + (synopsis "Display tabular data in an ASCII table format") + (description + "A library designed to represent tabular data in visually appealing ASCII +tables. PrettyTable allows for selection of which columns are to be printed, +independent alignment of columns (left or right justified or centred) and +printing of sub-tables by specifying a row range.") + (license bsd-3))) + +(define-public python2-prettytable + (package-with-python2 python-prettytable)) -- 2.1.4