~ruther/guix-local

ed03c2b05582c1d57d15a2e5415126c20c70da45 — Sharlatan Hellseher 10 months ago cb356f4
gnu: python-dask-image: Move to python-science.

* gnu/packages/python-xyz.scm (python-dask-image): Move from here ...
* gnu/packages/python-science.scm: ... to here.

Change-Id: I1ede0dd1410c1efcc4601b7e91285112f9c9a7ea
2 files changed, 66 insertions(+), 66 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-xyz.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +66 -0
@@ 674,6 674,72 @@ parentdir_prefix = dask_expr-
optimization and generally improved organization.")
    (license license:bsd-3)))

(define-public python-dask-image
  (package
    (name "python-dask-image")
    (version "2024.5.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "dask_image" version))
       (sha256
        (base32 "0g4293n1vjlpyxbvd1xz3pz9an9z4rnsw1m7lynhm00m0bgiz7qc"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      ;; Flake8 attribute errors.
      '(list "--ignore=dask_image/ndfilters/_threshold.py"
             "--ignore=dask_image/ndfourier/_utils.py"
             "--ignore=dask_image/ndinterp/__init__.py"
             "--ignore=dask_image/ndmeasure/__init__.py"
             "--ignore=dask_image/ndmeasure/_utils/_find_objects.py"
             "--ignore=dask_image/ndmeasure/_utils/_label.py"
             "--ignore=tests/test_dask_image/test_ndfilters/test__conv.py"
             "--ignore=tests/test_dask_image/test_ndfourier/test_core.py"
             "--ignore=tests/test_dask_image/test_ndinterp/test_spline_filter.py"
             "--ignore=tests/test_dask_image/test_ndmeasure/test_core.py"
             "--ignore=tests/test_dask_image/test_ndmeasure/test_find_objects.py")
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'set-version
            (lambda _
              (substitute* "pyproject.toml"
                (("^version_file.*") "")
                (("dynamic = \\[\"version\"\\]")
                 (string-append "version = \"" #$version "\""))))))))
    (propagated-inputs (list python-dask
                             python-numpy
                             python-pandas-2
                             python-pims
                             python-scipy
                             python-tifffile))
    (native-inputs
     (list python-coverage
           python-flake8
           python-pytest
           python-pytest-cov
           python-pytest-flake8
           python-pytest-timeout
           python-setuptools
           python-setuptools-scm
           python-twine
           python-wheel))
    (home-page "https://github.com/dask/dask-image")
    (synopsis "Distributed image processing")
    (description "This is a package for image processing with Dask arrays.
Features:

@itemize
@item Provides support for loading image files.
@item Implements commonly used N-D filters.
@item Includes a few N-D Fourier filters.
@item Provides some functions for working with N-D label images.
@item Supports a few N-D morphological operators.
@end itemize
")
    (license license:bsd-3)))

(define-public python-decaylanguage
  (package
    (name "python-decaylanguage")

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -66
@@ 30675,72 30675,6 @@ run on top of the dynamic task schedulers.")
     (modify-inputs (package-propagated-inputs python-dask)
       (delete "python-dask-expr")))))

(define-public python-dask-image
  (package
    (name "python-dask-image")
    (version "2024.5.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "dask_image" version))
       (sha256
        (base32 "0g4293n1vjlpyxbvd1xz3pz9an9z4rnsw1m7lynhm00m0bgiz7qc"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      ;; Flake8 attribute errors.
      '(list "--ignore=dask_image/ndfilters/_threshold.py"
             "--ignore=dask_image/ndfourier/_utils.py"
             "--ignore=dask_image/ndinterp/__init__.py"
             "--ignore=dask_image/ndmeasure/__init__.py"
             "--ignore=dask_image/ndmeasure/_utils/_find_objects.py"
             "--ignore=dask_image/ndmeasure/_utils/_label.py"
             "--ignore=tests/test_dask_image/test_ndfilters/test__conv.py"
             "--ignore=tests/test_dask_image/test_ndfourier/test_core.py"
             "--ignore=tests/test_dask_image/test_ndinterp/test_spline_filter.py"
             "--ignore=tests/test_dask_image/test_ndmeasure/test_core.py"
             "--ignore=tests/test_dask_image/test_ndmeasure/test_find_objects.py")
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'set-version
            (lambda _
              (substitute* "pyproject.toml"
                (("^version_file.*") "")
                (("dynamic = \\[\"version\"\\]")
                 (string-append "version = \"" #$version "\""))))))))
    (propagated-inputs (list python-dask
                             python-numpy
                             python-pandas-2
                             python-pims
                             python-scipy
                             python-tifffile))
    (native-inputs
     (list python-coverage
           python-flake8
           python-pytest
           python-pytest-cov
           python-pytest-flake8
           python-pytest-timeout
           python-setuptools
           python-setuptools-scm
           python-twine
           python-wheel))
    (home-page "https://github.com/dask/dask-image")
    (synopsis "Distributed image processing")
    (description "This is a package for image processing with Dask arrays.
Features:

@itemize
@item Provides support for loading image files.
@item Implements commonly used N-D filters.
@item Includes a few N-D Fourier filters.
@item Provides some functions for working with N-D label images.
@item Supports a few N-D morphological operators.
@end itemize
")
    (license license:bsd-3)))

(define-public python-ilinkedlist
  (package
    (name "python-ilinkedlist")