From 43542a0301f936380b70af45231a86ec59db38c6 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Tue, 22 Apr 2025 09:52:43 +0200 Subject: [PATCH] gnu: python-gamera: Update to 4.1.0. * gnu/packages/python-xyz.scm (python-gamera): Update to 4.1.0. [arguments]: Remove 'disable-wx-support' phase. Add 'fix-build' phase. Change-Id: Ic7a9a9991e7c12614adc255496b6220ad5cc30f3 --- gnu/packages/python-xyz.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5ba727694fc45839fbb5fb8b1954c33f704ee260..ef66d071677bae8197a3e1e1fae68a21fdf68ee7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35528,14 +35528,14 @@ process.") (define-public python-gamera (package (name "python-gamera") - (version "4.0.1") + (version "4.1.0") (source (origin (method url-fetch) (uri (string-append "https://gamera.informatik.hsnr.de/download/" "gamera-" version ".tar.gz")) (sha256 - (base32 "1apgjqdlsm0kx05jlpaw4398b6i2317yrw3jd8wp83w3pqmg34ps")) + (base32 "1n3cwc97dq4sz244ybs9na8a73s9f8wa4cjswxz54sx6a7xcafps")) (modules '((guix build utils))) (snippet '(begin @@ -35548,11 +35548,13 @@ process.") (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'disable-wx-support + (add-after 'unpack 'fix-build (lambda _ - (substitute* "setup.py" - (("no_wx = False") - "no_wx = True")))) + ;; The script to make daily build artifacts fails to compile, + ;; but users don't need that, so ignore it. + (delete-file "misc/daily_build.py") + ;; Prepare tests + (mkdir-p "tests/tmp"))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests?