guix-patches
[Top][All Lists]
Advanced

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

[bug#44990] [PATCH 1/8] gnu: Add python-qtpy.


From: dftxbs3e
Subject: [bug#44990] [PATCH 1/8] gnu: Add python-qtpy.
Date: Tue, 1 Dec 2020 12:55:09 +0100

From: John Doe <dftxbs3e@free.fr>

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1086d724f1..ad51498050 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23232,3 +23232,27 @@ process.")
      "Gamera is a toolkit for building document image recognition systems.")
     (home-page "https://gamera.informatik.hsnr.de/";)
     (license license:gpl2+)))
+
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QtPy" version))
+        (sha256
+          (base32
+            "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+      `(;; Not all supported bindings are packaged. Especially PyQt4.
+       #:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy";)
+    (synopsis
+      "Provides an abstraction layer on top of the various Qt bindings (PyQt5, 
PyQt4 and PySide) and additional custom QWidgets.")
+    (description
+      "Provides an abstraction layer on top of the various Qt bindings (PyQt5, 
PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
-- 
2.28.0






reply via email to

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