summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2022-10-18 18:42:50 -0500
committerGuix Patches Tester <>2022-10-19 00:46:49 +0100
commitd6adf9715643ab6b782a6d22205c3eaac5f75ba0 (patch)
tree9acae3b05c60d43f0d2b84bec07d4dfcefc452f0
parentc5cae2ed6c2a70304238cb34a7afb47822326522 (diff)
downloadguix-patches-d6adf9715643ab6b782a6d22205c3eaac5f75ba0.tar
guix-patches-d6adf9715643ab6b782a6d22205c3eaac5f75ba0.tar.gz
gnu: Add python-watchpoints.issue-58615
* gnu/packages/python-xyz.scm (python-watchpoints): New variable.
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2bd9f713c9..2e37cb4d6f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31178,6 +31178,36 @@ and abstract ELF, PE and MachO formats.")
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")