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
This commit is contained in:
Sharlatan Hellseher 2025-04-28 21:10:43 +01:00
parent a6fcf6d465
commit 3e055916bf
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 45 additions and 37 deletions

View file

@ -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")