~ruther/guix-local

b5159db2ce22a4e6e3c96a0bce8f3a34cc05d799 — Nicolas Graves 2 months ago 4ce3182
gnu: python-pims: Fix build.

* gnu/packages/image-processing.scm (python-pims)
[arguments]<#:phases>: Add phase 'relax-requirements.
[native-inputs]: Remove python-wheel.

Change-Id: Icec0ee0744cd326f1bbd2f320b63fa067cea7e8b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 9 insertions(+), 4 deletions(-)

M gnu/packages/image-processing.scm
M gnu/packages/image-processing.scm => gnu/packages/image-processing.scm +9 -4
@@ 1990,11 1990,16 @@ segmentation.")
      ;; these tests.
      '(list "--ignore=pims/tests/test_common.py"
             "--ignore=pims/tests/test_imseq.py"
             "--ignore=pims/tests/test_norpix.py")))
             "--ignore=pims/tests/test_norpix.py")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'relax-requirements
            (lambda _
              (substitute* "setup.py"
                (("'slicerator>=.*',")
                 "'slicerator',")))))))
    (native-inputs
     (list python-pytest
           python-setuptools
           python-wheel))
     (list python-pytest python-setuptools))
    (propagated-inputs
     (list python-imageio python-numpy python-slicerator))
    (home-page "https://github.com/soft-matter/pims")