unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 47976@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#47976] [PATCH v2 02/10] gnu: Add python-pyqtgraph.
Date: Sun, 25 Apr 2021 03:26:00 +0000	[thread overview]
Message-ID: <20210425032608.124210-2-monego@posteo.net> (raw)
In-Reply-To: <20210425032608.124210-1-monego@posteo.net>

* gnu/packages/python-xyz.scm (python-pyqtgraph): New variable.
---
Changed casing in synopsis.

 gnu/packages/python-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7366dd190c..9bd78986bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12421,6 +12421,58 @@ ISO 8859, etc.).")
     (description "AnyQt is a PyQt4/PyQt5 compatibility layer.")
     (license license:gpl3)))
 
+(define-public python-pyqtgraph
+  (package
+    (name "python-pyqtgraph")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyqtgraph" version))
+       (sha256
+        (base32 "0kc7ncv0lr3spni29i9g8nszyr4xinswqi2zzs6v8kqqi593pvyj"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-home-and-qpa
+           (lambda _
+             (setenv "HOME" "/tmp")
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t))
+         (replace 'check
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (add-installed-pythonpath inputs outputs)
+             (invoke "pytest" "-vv" "-k"
+                     ;; These tests try to download online data.
+                     (string-append "not test_PolyLineROI"
+                                    " and not test_getArrayRegion_axisorder"
+                                    " and not test_getArrayRegion"
+                                    " and not test_PlotCurveItem"
+                                    " and not test_NonUniformImage_colormap"
+                                    " and not test_NonUniformImage_lut"
+                                    " and not test_ImageItem_axisorder"
+                                    " and not test_ImageItem")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-xdist" ,python-pytest-xdist)))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (propagated-inputs
+     `(("python-h5py" ,python-h5py)
+       ("python-numpy" ,python-numpy)
+       ("python-pyopengl" ,python-pyopengl)
+       ("python-scipy" ,python-scipy)
+       ("python-pyqt" ,python-pyqt)))
+    (home-page "http://www.pyqtgraph.org")
+    (synopsis "Scientific graphics and GUI library for Python")
+    (description
+     "PyQtGraph is a Pure-python graphics library for PyQt5, PyQt6, PySide2
+and PySide6.  It is intended for use in mathematics, scientific or engineering
+applications.")
+    (license license:expat)))
+
 (define-public python-editor
   (package
   (name "python-editor")
-- 
2.31.1





  reply	other threads:[~2021-04-25  3:27 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23 17:25 [bug#47976] [PATCH 00/10] Add Orange Vinicius Monego
2021-04-23 17:28 ` [bug#47976] [PATCH 01/10] gnu: Add python-anyqt Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 02/10] gnu: Add python-pyqtgraph Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 03/10] gnu: Add python-qasync Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 04/10] gnu: Add python-orange-canvas-core Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 05/10] gnu: Add python-orange-widget-base Vinicius Monego
2021-04-23 19:20     ` Leo Famulari
2021-04-23 17:28   ` [bug#47976] [PATCH 06/10] gnu: Add python-serverfiles Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 07/10] gnu: Add python-python-louvain Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 08/10] gnu: python-pynndescent: Update to 0.5.2 Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 09/10] gnu: python-opentsne: " Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 10/10] gnu: Add orange Vinicius Monego
2021-04-23 19:25     ` Leo Famulari
2021-04-23 21:04       ` Vinicius Monego
2021-04-23 21:15         ` Leo Famulari
2021-04-23 19:29 ` [bug#47976] [PATCH 00/10] Add Orange Leo Famulari
2021-04-23 21:20   ` Vinicius Monego
2021-04-23 21:46     ` Leo Famulari
2021-04-25  3:25 ` [bug#47976] [PATCH v2 01/10] gnu: Add python-anyqt Vinicius Monego
2021-04-25  3:26   ` Vinicius Monego [this message]
2021-04-25  3:26   ` [bug#47976] [PATCH v2 03/10] gnu: Add python-qasync Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 04/10] gnu: Add python-orange-canvas-core Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 05/10] gnu: Add python-orange-widget-base Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 06/10] gnu: Add python-serverfiles Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 07/10] gnu: Add python-python-louvain Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 08/10] gnu: python-pynndescent: Update to 0.5.2 Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 09/10] gnu: python-opentsne: " Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 10/10] gnu: Add orange Vinicius Monego
2021-04-25 18:59     ` bug#47976: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210425032608.124210-2-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=47976@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).