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
This commit is contained in:
Sharlatan Hellseher 2025-07-24 15:28:42 +01:00
parent cb356f41c8
commit ed03c2b055
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 66 additions and 66 deletions

View file

@ -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")

View file

@ -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")