gnu: python-gamera: Update to 4.0.1.

* gnu/packages/python-xyz.scm (python-gamera): Update to 4.0.1.
  [arguments]: Update 'check' phase.

Change-Id: Ie0817e0c22db8417f9bd3e28aed4d0711ce71ab0
This commit is contained in:
Guillaume Le Vaillant 2024-12-19 16:11:38 +01:00
parent 5634bc206d
commit 07b4b1d055
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -34232,14 +34232,14 @@ process.")
(define-public python-gamera (define-public python-gamera
(package (package
(name "python-gamera") (name "python-gamera")
(version "4.0.0") (version "4.0.1")
(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 "0fhlwbvpm3k54n4aa1y6qd348jqrb54ak9p0ic16drx7f07dsq05")) (base32 "1apgjqdlsm0kx05jlpaw4398b6i2317yrw3jd8wp83w3pqmg34ps"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -34263,8 +34263,6 @@ process.")
;; Some tests require a writable HOME directory and test ;; Some tests require a writable HOME directory and test
;; directory. ;; directory.
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
(mkdir "tests/tmp") ;the code assumes this directory exists
;; (for-each make-file-writable (find-files "tests"))
(with-directory-excursion "tests" (with-directory-excursion "tests"
(invoke "pytest" "-vv" (invoke "pytest" "-vv"
;; This test causes gamera/gendoc.py to be loaded, ;; This test causes gamera/gendoc.py to be loaded,