gnu: python-pykdtree: Move to python-science.

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

Change-Id: Id13b95eab7e590b01cd46375929303458cf9ac82
This commit is contained in:
Sharlatan Hellseher 2025-07-24 15:25:34 +01:00
parent c2f9489f74
commit cb356f41c8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 33 additions and 33 deletions

View file

@ -1953,6 +1953,39 @@ different units.")
Evapotranspiration using various standard methods.")
(license license:expat)))
(define-public python-pykdtree
(package
(name "python-pykdtree")
(version "1.4.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pykdtree" version))
(sha256
(base32 "1xb5xdp32s5ffcbbb6vlrj4i70hdknajvr9yhzx0wld52rx9caxx"))))
(build-system pyproject-build-system)
(arguments
(list
;; FIXME: Tests are unable to import properly, but it seems to work in
;; real conditions.
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'fix-site-packages
(lambda* (#:key inputs outputs #:allow-other-keys)
(with-directory-excursion (site-packages inputs outputs)
(for-each delete-file (find-files "." "test*"))))))))
(native-inputs
(list python-cython-3 python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-numpy))
(home-page "https://github.com/storpipfugl/pykdtree")
(synopsis "Fast kd-tree implementation with OpenMP-enabled queries")
(description
"@code{pykdtree} is a kd-tree implementation for fast nearest neighbour
search in Python.")
(license license:lgpl3+)))
(define-public python-pynetdicom
(package
(name "python-pynetdicom")