~ruther/guix-local

3e055916bf0fe9f2a476ee413ccec70ad52d3719 — Sharlatan Hellseher 1 year, 14 days ago a6fcf6d
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
2 files changed, 45 insertions(+), 37 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-xyz.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +45 -1
@@ 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")

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -36
@@ 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")