guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 4bbd7d94d4c9152833e6b379c9557cfc501a4871
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 14 23:21:44 2025 +0000
gnu: python-sunkit-spex: Update to 0.4.0-0.bb544c4.
* gnu/packages/astronomy.scm (python-sunkit-spex): Update to
bb544c44573d6de44e3d5ba08d06cab0059a4db7 commit.
[arguments] <phases>: 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
---
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 6eaceaf2d0..10152acb1d 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: <urlopen error [Errno -3] Temporary
- ;; failure in name resolution> [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))