diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 13:56:29 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-24 15:19:43 +0100 |
| commit | c2f9489f744770f7323f67f5a787f0a12afaeec8 (patch) | |
| tree | edb72a79685490906e426303f3e54095ec6f9ce2 /gnu | |
| parent | b48383cdeb88bad4074cc573cf39e83bc1c47e6e (diff) | |
gnu: python-pykdtree: Update to 1.4.2.
* gnu/packages/python-xyz.scm (python-pykdtree): Update to 1.4.2.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them and explain why.
<#:phases>: Remove test files in output.
[native-inputs]: Replace python-cython by python-cython-3.
Change-Id: If5a7bb27b4c3af9075334360a57ae92f93d4fa35
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a73d10fb003..955cbb0f322 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11631,16 +11631,27 @@ the results.") (define-public python-pykdtree (package (name "python-pykdtree") - (version "1.3.9") + (version "1.4.2") (source (origin (method url-fetch) (uri (pypi-uri "pykdtree" version)) (sha256 - (base32 "0q4zrqdn8ad6f710yggkhvx4avf2h1hsbg9qa7ghly54v4vhpgd7")))) - (build-system python-build-system) + (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 python-pytest python-setuptools python-wheel)) + (list python-cython-3 python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-numpy)) (home-page "https://github.com/storpipfugl/pykdtree") |
