Subject: bug#54184: closed (Re: bug#54184: [PATCH] gnu: Add python-ansicolors)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 13 Mar 2022 22:29:02 +0000

Your bug report

#54184: [PATCH] gnu: Add python-ansicolors

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
54184: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54184
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#54184: [PATCH] gnu: Add python-ansicolors
From: Ludovic Courtès <[email-masked]>
To: Pradana Adrinusa AUMARS <[email-masked]>
Cc: [email-masked]
Date: Sun, 13 Mar 2022 23:28:03 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Pradana Adrinusa AUMARS <[email-masked]> skribis:

>>>From 67aba8f2e98ad2f21d587647d0efb817b0942dea Mon Sep 17 00:00:00 2001
> From: Pradana AUMARS <[email-masked]>
> Date: Sun, 27 Feb 2022 16:11:03 +0100
> Subject: [PATCH] gnu: Add python-ansicolors.
>
> * gnu/packages/python-xyz.scm (python-ansicolors): New variable.

Applied, thanks!

Ludo’.

Subject: [PATCH] gnu: Add python-ansicolors
From: Pradana Adrinusa AUMARS <[email-masked]>
To: [email-masked]
Date: Sun, 27 Feb 2022 16:20:53 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

>From 67aba8f2e98ad2f21d587647d0efb817b0942dea Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <[email-masked]>
Date: Sun, 27 Feb 2022 16:11:03 +0100
Subject: [PATCH] gnu: Add python-ansicolors.

* gnu/packages/python-xyz.scm (python-ansicolors): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 96448fc29b..40e9c9ccb1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29015,3 +29015,24 @@ (define-public python-pyfuse3
     (description "This package provides Python 3 bindings for libfuse
3 with
 async I/O support.")
     (license license:gpl2+)))
+
+(define-public python-ansicolors
+  (package
+   (name "python-ansicolors")
+   (version "1.1.8")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "ansicolors" version ".zip"))
+     (sha256
+      (base32
"1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr"))))
+   (build-system python-build-system)
+   (native-inputs
+    (list python-tox
+	  python-pytest-cov
+	  unzip))
+   (home-page "https://github.com/jonathaneunice/colors/")
+   (synopsis "ANSI colors for Python")
+   (description
+    "This package adds ANSI colors and decorations to your strings.")
+   (license license:isc)))
-- 
2.34.0