GNU bug report logs - #70011
[PATCH] gnu: Add python-icecream.

Previous Next

Package: guix-patches;

Reported by: nafkhamdc <navid.afkhami <at> mdc-berlin.de>

Date: Tue, 26 Mar 2024 16:16:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70011: closed ([PATCH] gnu: Add python-icecream.)
Date: Wed, 27 Mar 2024 14:17:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 27 Mar 2024 15:15:57 +0100
with message-id <87msqjbw00.fsf <at> elephly.net>
and subject line gnu: Add python-icecream.
has caused the debbugs.gnu.org bug report #70011,
regarding [PATCH] gnu: Add python-icecream.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70011: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70011
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add python-icecream.
Date: Tue, 26 Mar 2024 11:03:36 +0000
* 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



[Message part 3 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: 70011-done <at> debbugs.gnu.org
Subject: gnu: Add python-icecream.
Date: Wed, 27 Mar 2024 15:15:57 +0100
Thanks for the patch!  I moved it to python-xyz.scm and added a comment
referencing the upstream issue.

-- 
Ricardo


This bug report was last modified 1 year and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.