Subject: bug#70011: closed (gnu: Add python-icecream.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 27 Mar 2024 14:17:02 +0000

Your bug report

#70011: [PATCH] gnu: Add python-icecream.

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].

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

Subject: gnu: Add python-icecream.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Wed, 27 Mar 2024 15:15:57 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for the patch!  I moved it to python-xyz.scm and added a comment
referencing the upstream issue.

-- 
Ricardo

Subject: [PATCH] gnu: Add python-icecream.
From: nafkhamdc <[email-masked]>
To: <[email-masked]>
Cc: nafkhamdc <[email-masked]>
Date: Tue, 26 Mar 2024 11:03:36 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/bioinformatics.scm (python-icecream): New variable.

Change-Id: I866d0ce591a1b81fdd7e0ee706cb8e9791e70c49
---
 gnu/packages/bioinformatics.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d18d5d8611..5a07857202 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -17928,6 +17928,33 @@ (define-public python-iced
 efficiently.")
     (license license:bsd-3)))
 
+(define-public python-icecream
+  (package
+    (name "python-icecream")
+    (version "2.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "icecream" version))
+       (sha256
+        (base32 "1pj9kf7lwm799wppvngg3sndi0qf13iq33yhl59n3hsf6z1sg90a"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags '(list "-k"
+                          ;; These tests are failing due to a bug.
+                          (string-append "not testEnableDisabl"
+                           " and not testSingledispatchArgumentToString"))))
+    (propagated-inputs (list python-asttokens python-colorama python-executing
+                             python-pygments))
+    (native-inputs (list python-hypothesis python-pytest))
+    (home-page "https://github.com/gruns/icecream")
+    (synopsis
+     "Single function call to debug variables, expressions, and program execution")
+    (description
+     "This tool debugs variables, expressions, and program execution with one call.")
+    (license license:expat)))
+
 (define-public python-hic2cool
   (package
     (name "python-hic2cool")

base-commit: 7dfb3155fc4dd37bea93a8704c37e4aff87e5013
-- 
2.34.1