From 5cd724f523efe50ebd1f2e9d80c117dcb17ac144 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 14 Dec 2025 23:21:44 +0000 Subject: [PATCH] gnu: python-sunkit-spex: Update to 0.4.0-0.bb544c4. * gnu/packages/astronomy.scm (python-sunkit-spex): Update to bb544c44573d6de44e3d5ba08d06cab0059a4db7 commit. [arguments] : Remove 'pre-check; keep 'sanity-check. [propagated-inputs]: Remove python-ndim, python-orthopy, and python-quadpy; add python-gwcs, python-ndcube, and python-numpy. [native-inputs]: Remove python-wheel. Change-Id: Ib59e964b5bfa9804df3ed1b38181ad36dfa8ec25 Signed-off-by: Rutherther --- gnu/packages/astronomy.scm | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 6eaceaf2d010765f63096ce9055b292ec90f47f1..10152acb1d2005670e08979385123d9498365ece 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -10085,16 +10085,20 @@ and @code{astropy}.") (define-public python-sunkit-spex (package (name "python-sunkit-spex") - (version "0.4.0") + (properties '((commit . "bb544c44573d6de44e3d5ba08d06cab0059a4db7") + (revision . "0"))) + (version (git-version "0.4.0" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method git-fetch) ; not published on PyPI + (method git-fetch) (uri (git-reference - (url "https://github.com/sunpy/sunkit-spex") - (commit (string-append "v" version)))) + (url "https://github.com/sunpy/sunkit-spex") + (commit (assoc-ref properties 'commit)))) (file-name (git-file-name name version)) (sha256 - (base32 "1fa4n7vkg2az4f07i21a7plssqgz770vfhf6k9qngi6f8bkib83w")))) + (base32 "1n6if5zpbblp5bjy93bzh5bwrmbjfn2lkc850j4d9n5cw4jia3gy")))) (build-system pyproject-build-system) (arguments (list @@ -10105,30 +10109,21 @@ and @code{astropy}.") #~(modify-phases %standard-phases (add-before 'build 'set-version (lambda _ - (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))) - (add-before 'check 'pre-check - (lambda _ - ;; PermissionError: [Errno 13] Permission denied: - ;; '/homeless-shelter' - (setenv "HOME" "/tmp"))) - ;; The module tries to load remote data during sanity check: - ;; WARNING: SunpyUserWarning: [sunpy.data.data_manager.cache] - (delete 'sanity-check)))) + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" + #$(version-major+minor+point version))))))) (native-inputs (list python-setuptools - python-setuptools-scm - python-wheel)) + python-setuptools-scm)) (propagated-inputs (list python-corner python-emcee + python-gwcs python-matplotlib - python-ndim + python-ndcube python-nestle python-numdifftools - python-orthopy + python-numpy python-parfive - python-quadpy python-scipy python-sunpy python-xarray))