GNU bug report logs - #72219
[PATCH 00/34] Astronomy update 2024/07

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sat, 20 Jul 2024 22:40:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #95 received at 72219 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 72219 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 30/34] gnu: Add python-echo.
Date: Sat, 20 Jul 2024 23:40:53 +0100
* gnu/packages/python-xyz.scm (python-echo): New variable.

Change-Id: Id506a7b4ed9681227372455f9d96a0957eb845a7
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d36c96004e..1ac9884c59 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2382,6 +2382,42 @@ (define-public python-easygui
 simple function calls.")
     (license license:bsd-3)))
 
+(define-public python-echo
+  (package
+    (name "python-echo")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "echo" version))
+       (sha256
+        (base32 "1hr2kgjmf5gcjbg1mry03ca1dayfwy8mi8as42jfg0apsa3bfvvj"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'start-xorg-server
+            (lambda _
+              ;; The test suite requires a running X server.
+              (system "Xvfb :99 -screen 0 1024x768x24 &")
+              (setenv "DISPLAY" ":99.0"))))))
+    (propagated-inputs
+     (list python-numpy
+           python-qtpy
+           python-pyqt-6))
+    (native-inputs
+     (list python-pytest
+           python-pytest-cov
+           python-setuptools-scm
+           xorg-server-for-tests))
+    (home-page "https://github.com/glue-viz/echo")
+    (synopsis "Callback Properties in Python")
+    (description
+     "Echo is a small library for attaching callback functions to property
+state changes.")
+    (license license:expat)))
+
 (define-public python-pymd4c
   (package
     (name "python-pymd4c")
-- 
2.41.0





This bug report was last modified 297 days ago.

Previous Next


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