guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: Add python-orange-widget-base.


From: guix-commits
Subject: 05/10: gnu: Add python-orange-widget-base.
Date: Sun, 25 Apr 2021 14:53:11 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 13b2bfad295eb84cc4f2b08c95e559de94107688
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Apr 25 03:26:03 2021 +0000

    gnu: Add python-orange-widget-base.
    
    * gnu/packages/orange.scm (python-orange-widget-base): New variable.
    
    Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/orange.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/orange.scm b/gnu/packages/orange.scm
index fb273cb..8cb8159 100644
--- a/gnu/packages/orange.scm
+++ b/gnu/packages/orange.scm
@@ -64,3 +64,38 @@
 for editing workflows.  It is a component used to build the Orange Canvas
 data-mining application.")
     (license license:gpl3)))
+
+(define-public python-orange-widget-base
+  (package
+    (name "python-orange-widget-base")
+    (version "4.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "orange-widget-base" version))
+       (sha256
+        (base32 "13sy3s8rdqs3i3ghixljpqvnfz81qmbb0kqlasw39zvf39qc22kz"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; unittest fails to load one test, all other tests are passing:
+       ;; AttributeError: module 'orangewidget' has no attribute 'version'.
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "HOME" "/tmp")
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (propagated-inputs
+     `(("python-anyqt" ,python-anyqt)
+       ("python-matplotlib" ,python-matplotlib)
+       ("python-orange-canvas-core"
+        ,python-orange-canvas-core)
+       ("python-pyqtgraph" ,python-pyqtgraph)))
+    (home-page "https://github.com/biolab/orange-widget-base";)
+    (synopsis "Base Widget for Orange Canvas")
+    (description
+     "Orange Widget Base provides a base widget component for a interactive
+GUI based workflow.  It is primarily used in the Orange framework.")
+    (license license:gpl3+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]