From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KMsGJAobsF/7CgAA0tVLHw (envelope-from ) for ; Sat, 14 Nov 2020 17:59:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wK/ZHwobsF9qDAAAB5/wlQ (envelope-from ) for ; Sat, 14 Nov 2020 17:59:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B69E49403AD for ; Sat, 14 Nov 2020 17:59:37 +0000 (UTC) Received: from localhost ([::1]:53998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdyyQ-0003Is-L5 for larch@yhetil.org; Sat, 14 Nov 2020 12:04:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdyw6-0000Pa-Lh for guix-patches@gnu.org; Sat, 14 Nov 2020 12:02:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdyw6-0003xn-A7 for guix-patches@gnu.org; Sat, 14 Nov 2020 12:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdyw6-0003jE-6u for guix-patches@gnu.org; Sat, 14 Nov 2020 12:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44640] [PATCH 1/3] gnu: Add python-beautifultable. References: <2cdcf2f7975096d33638d6a95db090909718d1fd.camel@student.tugraz.at> In-Reply-To: <2cdcf2f7975096d33638d6a95db090909718d1fd.camel@student.tugraz.at> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Nov 2020 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44640 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44640@debbugs.gnu.org Received: via spool by 44640-submit@debbugs.gnu.org id=B44640.160537331313898 (code B ref 44640); Sat, 14 Nov 2020 17:02:02 +0000 Received: (at 44640) by debbugs.gnu.org; 14 Nov 2020 17:01:53 +0000 Received: from localhost ([127.0.0.1]:51867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyvs-0003YO-Th for submit@debbugs.gnu.org; Sat, 14 Nov 2020 12:01:52 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:34874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyvq-0003VN-Bo for 44640@debbugs.gnu.org; Sat, 14 Nov 2020 12:01:46 -0500 Received: from localhost.localdomain (217-149-162-128.nat.highway.telekom.at [217.149.162.128]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CYM7W28W3z1LLyX for <44640@debbugs.gnu.org>; Sat, 14 Nov 2020 18:01:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4CYM7W28W3z1LLyX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1605373303; bh=7VO91iYYZev/TrjyR0TdNXLWOI+2Ry+1fZcZGzbYs9c=; h=From:To:Subject:Date:From; b=ag1+BDNeCRjE+neiSOk0RzGT8cidSxPa5HR36hh+b73xgT3Yzgl0dy6x8vjUU/3gE dG8dLVE+ipEg9KODsUh6+hH5Z3Rqya5IVRl8FVdSEkWgDzwlIo5dEw2cDyAJHcbbyM fpMhK8KEqjo5chOPPCyOTdpxiEx/YBAK2P1Skh+k= From: Leo Prikler Date: Sat, 14 Nov 2020 18:00:46 +0100 Message-Id: <20201114170047.949-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=ag1+BDNe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: 7q/VhDbeTRwM * gnu/packages/python-xyz.scm (python-beautifultable): New variable. --- gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e5b8db02e0..57371f05c7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -89,6 +89,7 @@ ;;; Copyright © 2020 Tim Gesthuizen ;;; Copyright © 2020 Bonface Munyoki Kilyungi ;;; Copyright © 2020 Ekaitz Zarraga +;;; Copyright © 2020 Leo Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -18232,6 +18233,44 @@ gevent-powered application.") (define-public python2-gipc (package-with-python2 python-gipc)) +(define-public python-beautifultable + (package + (name "python-beautifultable") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "beautifultable" version)) + (sha256 + (base32 + "0wwlbifcbpzy3wfv6yzsxncarsngzizmmxbn6cy5gazlcq7h4k5x")))) + (build-system python-build-system) + (propagated-inputs + `(("python-wcwidth" ,python-wcwidth))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-setup.py + (lambda _ + (substitute* "setup.py" + (("setup\\(") + "setup(\n test_suite=\"test\","))))))) + (home-page "https://github.com/pri22296/beautifultable") + (synopsis "Print ASCII tables for terminals") + (description "@code{python-beautifultable} provides a class for easily +printing tabular data in a visually appealing ASCII format to a terminal. + +Features include, but are not limited to: +@itemize +@item Full customization of the look and feel of the table +@item Row and column accessors. +@item Full support for colors using ANSI sequences or any library. +@item Plenty of predefined styles and option to create custom ones. +@item Support for Unicode characters. +@item Supports streaming table when data is slow to retrieve. +@end itemize") + (license license:expat))) + (define-public python-fusepy (package (name "python-fusepy") -- 2.29.2