From 814a335b473e12b6cd8ab261ab317fbf481083cb Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 14 Dec 2025 21:47:43 +0000 Subject: [PATCH] gnu: veusz: Update to 4.2. * gnu/packages/maths.scm (veusz): Update to 4.2. [inputs]: Add python-numpy. [propagated-inputs]: Remove python-numpy. [native-inputs]: Remove python-astropy and python-wheel. Change-Id: Id1258513cc7c7f0ebad71e523f23e37a59cc42ce Signed-off-by: Rutherther --- gnu/packages/maths.scm | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9948b86b51143c714272a3cec5ba0675cfd0023a..e7e06e90e008f5cd710252247d831a3a36cb82a1 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3852,6 +3852,7 @@ ASCII text files using Gmsh's own scripting language.") (license license:gpl2+))) (define-public veusz + ;; TODO: Maybe move to (gnu packages plotutils) (package (name "veusz") (version "4.2") @@ -3864,8 +3865,12 @@ ASCII text files using Gmsh's own scripting language.") (build-system pyproject-build-system) (arguments (list - ;; Tests currently fail with exception TypeError: - ;; calling returned 3.6.2, not a test + ;; TODO: When run with custom test backend "tests/runselftest.py": + ;; <...> + ;; qt.qpa.plugin: Could not load the Qt platform plugin + ;; "xcb" in "" even though it was found. This application failed to + ;; start because no Qt platform plugin could be + ;; initialized. Reinstalling the application may fix this problem. #:tests? #f #:phases #~(modify-phases %standard-phases @@ -3895,21 +3900,28 @@ ASCII text files using Gmsh's own scripting language.") "/lib/qt6/plugins"))))))))) (native-inputs (list pkg-config - python-astropy python-setuptools - python-wheel qttools)) (inputs (list bash-minimal ghostscript ;optional, for EPS/PS output python-dbus - python-h5py ;optional, for HDF5 data + python-numpy python-pyqt-6 qtbase qtsvg - qtwayland)) - (propagated-inputs - (list python-numpy)) + qtwayland + ;; + ;; These are extra requirements which are listed for the reference, + ;; try not to include them directly and install on demand to reduce + ;; closure size and relax module cycles (maths<-->astronomy, + ;; maths<-->python-science). + ;; + ;; [optional] + ;; python-astropy + ;; python-pyemf3 ;not packaged + ;; python-iminuit + python-h5py)) ;for HDF5 data (home-page "https://veusz.github.io/") (synopsis "Scientific plotting package") (description