guix_mirror_bot pushed a commit to branch kde-team
in repository guix.

commit 8c8e78289e4f292aee1e509cd034d4b18f17ef1c
Author: Zheng Junjie <[email protected]>
AuthorDate: Fri Jan 10 11:52:07 2025 +0800

    gnu: labplot: Update to 2.11.1.
    
    * gnu/packages/kde.scm (labplot): Update to 2.11.1.
    [arguments]: Use G-expressions.
    <#:phases>: Adjust check phase.
    
    Change-Id: Ic0fbcd989ea594a2fb684664f4837fd767d2b374
---
 gnu/packages/kde.scm | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 9a8f7ce96e..cfb6510a8a 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1714,31 +1714,33 @@ communicate with each other.  Here's a few things KDE 
Connect can do:
 (define-public labplot
   (package
     (name "labplot")
-    (version "2.10.1")
+    (version "2.11.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://kde/stable/labplot"
                            "/labplot-" version ".tar.xz"))
        (sha256
-        (base32 "1vyslapcjmq7bra3hbbkwrcy6z0cn8z5z2bvzzgy1dng2waihvib"))))
+        (base32 "17b78s84hqq51chhzfx5in9b6ijkwa6xhq1y8sclscirvz46majk"))))
     (build-system qt-build-system)
     (arguments
-     `(#:configure-flags
-       (list "-DENABLE_CANTOR=OFF" ;not packaged
-             "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
-             ;; FIXME: readstat (optional dependency) is available in the
-             ;; statistics module, but that module can't be used here.
-             "-DENABLE_READSTAT=OFF"
-             ;; This is a bundled library that is not packaged.
-             "-DENABLE_LIBORIGIN=ON")
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               ;; This test fails, I don't know why.
-               (invoke "ctest" "-E" "(ParserTest|ReadStatFilterTest)")))))))
+     (list #:configure-flags
+           #~(list "-DENABLE_CANTOR=OFF" ;not packaged
+                   "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
+                   ;; FIXME: readstat (optional dependency) is available in the
+                   ;; statistics module, but that module can't be used here.
+                   "-DENABLE_READSTAT=OFF"
+                   ;; This is a bundled library that is not packaged.
+                   "-DENABLE_LIBORIGIN=ON")
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (setenv "HOME" (getcwd))
+                     ;; This test fails, I don't know why.
+                     (invoke "ctest" "-E" "(ParserTest|ReadStatFilterTest|\
+WorksheetElementTest)")))))))
     (native-inputs (list bison
                          extra-cmake-modules
                          pkg-config

Reply via email to