From patchwork Sat May 29 20:28:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 29670 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 79A2D27BC81; Sat, 29 May 2021 21:30:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3CA6427BC78 for ; Sat, 29 May 2021 21:30:22 +0100 (BST) Received: from localhost ([::1]:41430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln5bB-00062n-2S for patchwork@mira.cbaines.net; Sat, 29 May 2021 16:30:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln5as-00062Z-VV for guix-patches@gnu.org; Sat, 29 May 2021 16:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln5as-00050X-Mp for guix-patches@gnu.org; Sat, 29 May 2021 16:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ln5as-0000KH-H0 for guix-patches@gnu.org; Sat, 29 May 2021 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48426] [PATCH] gnu: Add python-easy-ansi. References: <20210514211746.143145-2-stefan@xsteve.at> In-Reply-To: <20210514211746.143145-2-stefan@xsteve.at> Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 May 2021 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48426 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48426@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= Received: via spool by 48426-submit@debbugs.gnu.org id=B48426.16223201441165 (code B ref 48426); Sat, 29 May 2021 20:30:02 +0000 Received: (at 48426) by debbugs.gnu.org; 29 May 2021 20:29:04 +0000 Received: from localhost ([127.0.0.1]:57765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ln5Zw-0000Ij-7q for submit@debbugs.gnu.org; Sat, 29 May 2021 16:29:04 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:40806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ln5Zs-0000IG-J3 for 48426@debbugs.gnu.org; Sat, 29 May 2021 16:29:02 -0400 Received: from localhost (217-149-163-5.nat.highway.telekom.at [217.149.163.5]) by dd3624.kasserver.com (Postfix) with ESMTPA id 0FF9A5D404D4; Sat, 29 May 2021 22:28:58 +0200 (CEST) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Sat, 29 May 2021 22:28:37 +0200 Message-Id: <20210529202837.147041-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-easy-ansi): New variable. --- I switched the source location to gitlab (from pypi). However I was not able to find out how to run the tests gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d978942402..9b9510f043 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16551,6 +16551,31 @@ converting text with ANSI color codes to HTML or LaTeX.") (define-public python2-ansi2html (package-with-python2 python-ansi2html)) +(define-public python-easy-ansi + (package + (name "python-easy-ansi") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/joeysbytes/easy-ansi") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0albh55ynzs98qy9pln4qaxw5qhhh3lk09jy9bx19gycrp1c3lc3")))) + (build-system python-build-system) + (home-page "https://gitlab.com/joeysbytes/easy-ansi") + (synopsis "Terminal framework API to give you an easy way to use colors, cursor +control movements, and line/box drawing.") + (description + "Easy ANSI is a terminal framework API to give you an easy way to use +colors, cursor control movements, and line/box drawing. It is not meant as a +replacement to more full-featured frameworks (such as curses or urwid), but as +a tool to quickly create nice-looking screens in your terminal window. You +can even create animations with the cursor controls.") + (license license:expat))) + (define-public python-ddt (package (name "python-ddt")