unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58615] [PATCH 1/2] gnu: Add python-watchpoints.
@ 2022-10-18 23:36 jgart via Guix-patches via
  2022-10-18 23:42 ` [bug#58615] [PATCH 1/2] gnu: Add python-objprint jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-18 23:36 UTC (permalink / raw)
  To: 58615





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

* [bug#58615] [PATCH 1/2] gnu: Add python-objprint.
  2022-10-18 23:36 [bug#58615] [PATCH 1/2] gnu: Add python-watchpoints jgart via Guix-patches via
@ 2022-10-18 23:42 ` jgart via Guix-patches via
  2022-10-18 23:42   ` [bug#58615] [PATCH 2/2] gnu: Add python-watchpoints jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-18 23:42 UTC (permalink / raw)
  To: 58615; +Cc: jgart

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f215f40915..5d1fa0c97f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31142,6 +31142,36 @@ (define-public python-lief
 and abstract ELF, PE and MachO formats.")
     (license license:asl2.0)))
 
+(define-public python-objprint
+  (package
+    (name "python-objprint")
+    (version "0.2.2")
+    ;; The tests are not included in the PyPI archive.
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/gaogaotiantian/objprint")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0jh9swg4cag2vxyzrjmsdmdrak6zhlgg8fjsnmmis8dm8bb41fq9"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest))
+    (arguments
+      `(#:phases
+        (modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? inputs #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-v")))))))
+    (home-page "https://github.com/gaogaotiantian/objprint")
+    (synopsis "Print Python objects in human readable format")
+    (description
+"This package provides a library that can print Python objects in human
+readable format.")
+    (license license:asl2.0)))
+
 (define-public python-pymonad
   (package
     (name "python-pymonad")
-- 
2.38.0





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

* [bug#58615] [PATCH 2/2] gnu: Add python-watchpoints.
  2022-10-18 23:42 ` [bug#58615] [PATCH 1/2] gnu: Add python-objprint jgart via Guix-patches via
@ 2022-10-18 23:42   ` jgart via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-18 23:42 UTC (permalink / raw)
  To: 58615; +Cc: jgart

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5d1fa0c97f..9cf0946d66 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31172,6 +31172,36 @@ (define-public python-objprint
 readable format.")
     (license license:asl2.0)))
 
+(define-public python-watchpoints
+  (package
+    (name "python-watchpoints")
+    (version "0.2.5")
+    ;; The tests are not included in the PyPI archive.
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/gaogaotiantian/watchpoints")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0d88vgjc99qp6wl3c3m3z2dyx46zb9vgfhwzwvbshay8g11fnfjp"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:phases
+        (modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? inputs #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-v")))))))
+    (native-inputs (list python-pytest python-pandas))
+    (propagated-inputs (list python-objprint))
+    (home-page "https://github.com/gaogaotiantian/watchpoints")
+    (synopsis "Monitor read and write on variables")
+    (description 
+"@code{python-watchpoints} monitors read and write on variables.")
+    (license license:asl2.0)))
+
 (define-public python-pymonad
   (package
     (name "python-pymonad")
-- 
2.38.0





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

end of thread, other threads:[~2022-10-18 23:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 23:36 [bug#58615] [PATCH 1/2] gnu: Add python-watchpoints jgart via Guix-patches via
2022-10-18 23:42 ` [bug#58615] [PATCH 1/2] gnu: Add python-objprint jgart via Guix-patches via
2022-10-18 23:42   ` [bug#58615] [PATCH 2/2] gnu: Add python-watchpoints jgart via Guix-patches via

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