gnu: python-pims: Update to 0.7.

* gnu/packages/image-processing.scm (python-pims): Update to 0.7. Fix
build.
[source] <uri>: Adjust it as PyPI archive name has been changed.
[arguments] <test-flags>: Remove skipped tests option and ignore one ore
whole test file requiring image data.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I48c51e81d114b5ad49aed288788220ffe93b17d7
This commit is contained in:
Sharlatan Hellseher 2025-02-19 09:55:14 +00:00
parent 628eab9c20
commit 8b871ae377
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1711,31 +1711,28 @@ segmentation.")
(define-public python-pims (define-public python-pims
(package (package
(name "python-pims") (name "python-pims")
(version "0.6.1") (version "0.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "PIMS" version)) (uri (pypi-uri "pims" version))
(sha256 (sha256
(base32 "0fsg353mbbj1ad06nwrp8p9xcrzy6rca6b52nvlbraaf3m309dz2")))) (base32 "0swlh8g4kf8p24g0ghkmwcj9y45rc59lmqx459nhhmhj6167m42m"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
;; We don't have all the (sometimes very large) data files, so we skip ;; We don't have all the (sometimes very large) data files, so we skip
;; these tests. ;; these tests.
'(list "--ignore=pims/tests/test_imseq.py" '(list "--ignore=pims/tests/test_common.py"
"--ignore=pims/tests/test_norpix.py" "--ignore=pims/tests/test_imseq.py"
"-k" "--ignore=pims/tests/test_norpix.py")))
(string-append " not TestImageReaderTIFF" (native-inputs
" and not TestOpenFiles" (list python-pytest
" and not TestSpeStack" python-setuptools
" and not TestTiffStack_pil" python-wheel))
" and not TestTiffStack_tifffile"
" and not TestVideo_ImageIO"))))
(propagated-inputs (propagated-inputs
(list python-imageio python-numpy python-slicerator)) (list python-imageio python-numpy python-slicerator))
(native-inputs (list python-pytest))
(home-page "https://github.com/soft-matter/pims") (home-page "https://github.com/soft-matter/pims")
(synopsis "Python Image Sequence") (synopsis "Python Image Sequence")
(description "Scientific video can be packaged in various ways: familiar (description "Scientific video can be packaged in various ways: familiar