diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-28 21:10:43 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-28 21:58:59 +0100 |
commit | 3e055916bf0fe9f2a476ee413ccec70ad52d3719 (patch) | |
tree | 59a11720dd9d5a2cc6aa35ba747228e7e5988ede | |
parent | a6fcf6d465a60ddc6bd7f2c2a1a2e3ececb1187e (diff) |
gnu: python-pyqtgraph: Move to python-science.
* gnu/packages/python-xyz.scm (python-pyqtgraph): Move from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: I3de3c6a71fb2c5c49b76e03a026eae7deaa55840
-rw-r--r-- | gnu/packages/python-science.scm | 46 | ||||
-rw-r--r-- | gnu/packages/python-xyz.scm | 36 |
2 files changed, 45 insertions, 37 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f51de6a21a..4b00efcaae 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -16,7 +16,8 @@ ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2021, 2023 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com> -;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net> +;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net> +;;; Copyright © 2022 Leo Famulari <leo@famulari.name> ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2022 Wiktor Żelazny <wzelazny@vurv.cz> ;;; Copyright © 2022 Eric Bavier <bavier@posteo.net> @@ -78,6 +79,7 @@ #:use-module (gnu packages python-graphics) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) #:use-module (gnu packages rust-apps) #:use-module (gnu packages simulation) #:use-module (gnu packages sphinx) @@ -4507,6 +4509,48 @@ well as key metadata and SIRENE database containing data on all French compagnies.") (license license:expat))) +(define-public python-pyqtgraph + (package + (name "python-pyqtgraph") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyqtgraph" version)) + (sha256 + (base32 "1kiazyc8mqyx0479qdcvdclzq0g1hpp93dyq8444w1f72628s42q")))) + (build-system pyproject-build-system) + (arguments + ;; This test fails. It suggests to disable assert rewriting in Pytest, + ;; but it still doesn't pass. + (list #:test-flags #~'("-k" "not test_reload") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-qpa + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (native-inputs + (list python-pytest + python-pytest-cov + python-pytest-xdist + python-setuptools + python-wheel)) + (inputs + (list qtbase-5)) + (propagated-inputs + (list python-h5py + python-numpy + python-pyopengl + python-scipy + python-pyqt)) + (home-page "https://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-libneuroml (package (name "python-libneuroml") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index da3fd52aab..7365de5d03 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21718,42 +21718,6 @@ ISO 8859, etc.).") (description "AnyQt is a PyQt4/PyQt5 compatibility layer.") (license license:gpl3))) -(define-public python-pyqtgraph - (package - (name "python-pyqtgraph") - (version "0.13.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pyqtgraph" version)) - (sha256 - (base32 "1kiazyc8mqyx0479qdcvdclzq0g1hpp93dyq8444w1f72628s42q")))) - (build-system pyproject-build-system) - (arguments - ;; This test fails. It suggests to disable assert rewriting in Pytest, - ;; but it still doesn't pass. - (list #:test-flags #~'("-k" "not test_reload") - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'set-qpa - (lambda _ - (setenv "QT_QPA_PLATFORM" "offscreen")))))) - (native-inputs - (list python-pytest python-pytest-cov python-pytest-xdist - python-setuptools python-wheel)) - (inputs - (list qtbase-5)) - (propagated-inputs - (list python-h5py python-numpy python-pyopengl python-scipy - python-pyqt)) - (home-page "https://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-qasync (package (name "python-qasync") |