~ruther/guix-local

8b871ae377c10f3e1d0f80b94cfddfaa7f0a8efe — Sharlatan Hellseher 1 year, 2 months ago 628eab9
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
1 files changed, 10 insertions(+), 13 deletions(-)

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