diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-24 15:25:34 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-24 15:25:34 +0100 |
commit | cb356f41c8c927a0292410ed6593f157e9741baf (patch) | |
tree | fef12692913216bf39cfe5d9faf70264b8ed49ea | |
parent | c2f9489f744770f7323f67f5a787f0a12afaeec8 (diff) |
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
-rw-r--r-- | gnu/packages/python-science.scm | 33 | ||||
-rw-r--r-- | gnu/packages/python-xyz.scm | 33 |
2 files changed, 33 insertions, 33 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f51de6d8b1..8286aa1bf8 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -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") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 955cbb0f32..80bb1cb1dd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11628,39 +11628,6 @@ snippets with input parameters (e.g., the size of an array) and plotting the results.") (license license:gpl3+))) -(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-wurlitzer (package (name "python-wurlitzer") |