[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/32: gnu: Add python-pyvistaqt.
From: |
guix-commits |
Subject: |
30/32: gnu: Add python-pyvistaqt. |
Date: |
Wed, 16 Feb 2022 11:39:43 -0500 (EST) |
nckx pushed a commit to branch wip-python-mne
in repository guix.
commit f6ba339eb54e934eeabbc6789a6b2978ae74b626
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Feb 10 20:19:49 2022 +0100
gnu: Add python-pyvistaqt.
* gnu/packages/python-science.scm (python-pyvistaqt): New variable.
---
gnu/packages/python-science.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ee77de4272..d04b0ef9e5 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1389,3 +1389,44 @@ hardware resources.")
Toolkit (VTK) that wraps the VTK library through NumPy and direct array access
through a variety of methods and classes.")
(license license:expat)))
+
+(define-public python-pyvistaqt
+ (package
+ (name "python-pyvistaqt")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pyvista/pyvistaqt")
+ (commit version)))
+ (sha256
+ (base32 "19vm0kwxnn5dyiw1byi896spfzxaw39lk5bw7ff536qq1qqg3vnd"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-skipping-tests
+ (lambda _
+ (substitute* "tests/conftest.py"
+ (("NO_PLOTTING, reason=") ""))))
+ (add-before 'check 'prepare-x
+ (lambda _
+ (system "Xvfb &")
+ (setenv "DISPLAY" ":0")
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest")))))))
+ (propagated-inputs (list python-pyvista python-qtpy))
+ (native-inputs (list python-pytest python-codecov python-ipython
+ python-numpy python-pytest-cov python-pytest-memprof
+ python-pytest-qt python-pyvista python-qtpy
+ python-scooby vtk xorg-server-for-tests))
+ (home-page "https://github.com/pyvista/pyvistaqt")
+ (synopsis "@code{pyvista} qt plotter")
+ (description "@code{pyvistaqt} is a helper module for pyvista to enable
+you to plot using pyqt by placing a vtk-widget into a background render. This
+can be quite useful when you desire to update your plot in real-time.")
+ (license license:expat)))
- 21/32: gnu: Add python-dipy., (continued)
- 21/32: gnu: Add python-dipy., guix-commits, 2022/02/16
- 20/32: gnu: Add python-picard., guix-commits, 2022/02/16
- 03/32: gnu: Add python-eeglabio., guix-commits, 2022/02/16
- 16/32: gnu: Add python-pytest-steps., guix-commits, 2022/02/16
- 32/32: gnu: Add python-mne., guix-commits, 2022/02/16
- 12/32: gnu: Add a test-less python-pytest-cases., guix-commits, 2022/02/16
- 04/32: gnu: Add python-nibabel., guix-commits, 2022/02/16
- 11/32: gnu: Add a test-less python-pytest-steps., guix-commits, 2022/02/16
- 26/32: gnu: Add python-nilearn., guix-commits, 2022/02/16
- 23/32: gnu: Add python-pyperf., guix-commits, 2022/02/16
- 30/32: gnu: Add python-pyvistaqt.,
guix-commits <=
- 06/32: gnu: Add python-flake8-array-spacing., guix-commits, 2022/02/16
- 15/32: gnu: Add python-pytest-harvest., guix-commits, 2022/02/16
- 22/32: gnu: Add python-no-version., guix-commits, 2022/02/16
- 25/32: gnu: Add python-scooby., guix-commits, 2022/02/16
- 01/32: gnu: Add python-imageio-ffmpeg., guix-commits, 2022/02/16
- 10/32: gnu: Add a test-less python-pytest-harvest., guix-commits, 2022/02/16
- 31/32: gnu: Add python-mffpy., guix-commits, 2022/02/16
- 29/32: gnu: Add python-pytest-memprof., guix-commits, 2022/02/16
- 17/32: gnu: python-pooch: Update to 1.6.0., guix-commits, 2022/02/16
- 19/32: gnu: Add python-pymatreader., guix-commits, 2022/02/16