unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70011] [PATCH] gnu: Add python-icecream.
@ 2024-03-26 11:03 nafkhamdc
  2024-03-27 14:15 ` bug#70011: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: nafkhamdc @ 2024-03-26 11:03 UTC (permalink / raw)
  To: 70011; +Cc: nafkhamdc

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#70011: gnu: Add python-icecream.
  2024-03-26 11:03 [bug#70011] [PATCH] gnu: Add python-icecream nafkhamdc
@ 2024-03-27 14:15 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2024-03-27 14:15 UTC (permalink / raw)
  To: 70011-done

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

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-27 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-26 11:03 [bug#70011] [PATCH] gnu: Add python-icecream nafkhamdc
2024-03-27 14:15 ` bug#70011: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).