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
This commit is contained in:
Guillaume Le Vaillant 2025-04-22 09:52:43 +02:00
parent 958865b22d
commit 43542a0301
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -35528,14 +35528,14 @@ process.")
(define-public python-gamera (define-public python-gamera
(package (package
(name "python-gamera") (name "python-gamera")
(version "4.0.1") (version "4.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://gamera.informatik.hsnr.de/download/" (uri (string-append "https://gamera.informatik.hsnr.de/download/"
"gamera-" version ".tar.gz")) "gamera-" version ".tar.gz"))
(sha256 (sha256
(base32 "1apgjqdlsm0kx05jlpaw4398b6i2317yrw3jd8wp83w3pqmg34ps")) (base32 "1n3cwc97dq4sz244ybs9na8a73s9f8wa4cjswxz54sx6a7xcafps"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -35548,11 +35548,13 @@ process.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'disable-wx-support (add-after 'unpack 'fix-build
(lambda _ (lambda _
(substitute* "setup.py" ;; The script to make daily build artifacts fails to compile,
(("no_wx = False") ;; but users don't need that, so ignore it.
"no_wx = True")))) (delete-file "misc/daily_build.py")
;; Prepare tests
(mkdir-p "tests/tmp")))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?