guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0a8a855eb2291e05ac958893c12b69810a217a1c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 16 23:14:39 2025 +0000
gnu: python-cdflib: Update to 1.3.7.
* gnu/packages/astronomy.scm (python-cdflib): Update to 1.3.7.
[source] <url>: Fix permanent redirection.
[arguments] <phases>: Add 'fix-pytest-config.
[native-inputs]: Remove python-pytest-cov.
[home-page]: Fix permanent redirection.
Change-Id: I86c72969afb0c96ad5207f18490af69475857bd3
---
gnu/packages/astronomy.scm | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 533d4478ca..abc9a88d39 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3692,37 +3692,42 @@ bad pixel tracking throughout the reduction process.")
(define-public python-cdflib
(package
(name "python-cdflib")
- (version "1.3.6")
+ (version "1.3.7")
(source
(origin
- (method git-fetch) ; no tests in PyPI release
+ (method git-fetch)
(uri (git-reference
- (url "https://github.com/MAVENSDC/cdflib")
- (commit version)))
+ (url "https://github.com/lasp/cdflib")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1rlzmwnlz77n8c62h050jc2njy10bfby671p3w7y6r6y6642xrdi"))))
+ (base32 "1ky54sg21g9mcgg8cimkb5bpmz4kl3yfgd1gk99s687lj1qm9v31"))))
(build-system pyproject-build-system)
(arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (add-before 'build 'set-env-version
- (lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
- (add-before 'check 'set-home-env
- (lambda _
- (setenv "HOME" (getcwd)))))))
+ (list
+ ;; tests: 71 passed, 26 skipped, 7 warnings
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ (substitute* "pyproject.toml"
+ ((" --cov=cdflib --cov-report=xml") ""))))
+ (add-before 'build 'set-env-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+ (add-before 'check 'set-home-env
+ (lambda _
+ (setenv "HOME" (getcwd)))))))
(native-inputs
(list python-astropy-minimal
python-pytest
- python-pytest-cov
python-pytest-remotedata
python-setuptools
python-setuptools-scm
python-xarray))
(propagated-inputs
(list python-numpy))
- (home-page "https://github.com/MAVENSDC/cdflib")
+ (home-page "https://github.com/lasp/cdflib")
(synopsis "Python library to deal with NASA's CDF astronmical data format")
(description
"This package provides a Python @acronym{CDF, Computable Document Format}