[PATCH] gnu: python-cdflib: Update to 0.4.9.

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Baines
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal
S
S
Sharlatan Hellseher wrote on 23 Nov 2022 00:23
(address . guix-patches@gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20221122232312.8196-1-sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-cdflib): Update to 0.4.9.
[build-system]: Use pyproject-build-system to simplify package.
[description]: Expand acronym for CDF.
---
gnu/packages/astronomy.scm | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b37aeacc70..d450d1dd94 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1101,7 +1101,7 @@ (define-public python-astroquery
(define-public python-cdflib
(package
(name "python-cdflib")
- (version "0.4.4")
+ (version "0.4.9")
(source
(origin
(method git-fetch) ; no tests in pypi archive
@@ -1110,16 +1110,14 @@ (define-public python-cdflib
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1h7750xvr6qbhnl2w3bhccs3pwp3hci3624pvvxym0yjinmskjlz"))))
- (build-system python-build-system)
+ (base32 "1k557najk7ln293zwyghnhw48ays3nqf9s94kibsc7r70c2q7p08"))))
+ (build-system pyproject-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "HOME" (getcwd))
- (invoke "pytest" "-vv" "tests")))))))
+ (add-before 'check 'set-home-env
+ (lambda _
+ (setenv "HOME" (getcwd)))))))
(propagated-inputs
(list python-attrs python-numpy))
(native-inputs
@@ -1131,7 +1129,8 @@ (define-public python-cdflib
python-xarray))
(home-page "https://github.com/MAVENSDC/cdflib")
(synopsis "Python library to deal with NASA's CDF astronmical data format")
- (description "This package provides a Python CDF reader toolkit
+ (description "This package provides a Python @acronym{CDF, Computable
+Document Format} reader toolkit.
It provides the following functionality:
@itemize
@item Ability to read variables and attributes from CDF files
@@ -1140,7 +1139,7 @@ (define-public python-cdflib
time formats
@item Can convert CDF files into XArray Dataset objects and vice versa,
attempting to maintain ISTP compliance
-@end itemize\n")
+@end itemize")
(license license:expat)))
(define-public python-ephem
--
2.38.0
C
C
Christopher Baines wrote on 23 Nov 2022 11:01
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
87mt8iq9a6.fsf@cbaines.net
Sharlatan Hellseher <sharlatanus@gmail.com> writes:

Toggle quote (7 lines)
> * gnu/packages/astronomy.scm (python-cdflib): Update to 0.4.9.
> [build-system]: Use pyproject-build-system to simplify package.
> [description]: Expand acronym for CDF.
> ---
> gnu/packages/astronomy.scm | 19 +++++++++----------
> 1 file changed, 9 insertions(+), 10 deletions(-)

Looks good to me :) I've pushed this to master as
7fa8c0575303908f921a2032eeeaa9c34e37fbdb.

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmN974FfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xc5ig//c7NgvOd1S9IeZJC2/tYbJG26Zjh6/2TL
qAl0M82EL3qa4pmk3dB+3coWI5M1AFuzPjo7DKONcC+D/kJ9aVZSHijR2h4djWY3
nbrdFPeyGR3o4i6AUwjwTVAMw893/XKvJI35orEkaTvocX5PpvZ0N5iuuF9LXMgs
th0RKkNdHeTtLBvL2IaT1O1gxkc5A6D5FLkRvuUBcREV9AySjst44v4QtbbisneI
XCf3JCExAqKIBjsnsmYoRQqQbiE+HNoAvJlqWWdl5VmMbsoeWQpB7xskSDeMvgzE
BIfQSm7ooAqeLX9HwF6eXraZn4UOBNJEDxpDRQn2cUu/27g1aaL177Pi4DzBVd64
K9JtId/N+EZ1wlgyPGCTjqWrkz6BaGnn+kuOycJLtVrdAsYme0SSIxNSl1KiYkNB
Hjhab0B7du8BnoE18ySdugvCinkdl11+j6mBXmXmI1Jy6O+qGJVQyD6sPG1Wdukj
Q49BJz0XlLrdbWvaYMAmFqhkeNOOodl0e/BN/+WQ8f1ZFtPrj7tUw4E4unJRNScH
86vPD4nVbq3wNVNckiQsC9Q+tMoGJ1sdUMHO1v1oWwTsjtu/czKvAzBsoXY92neJ
bKqY/xUEgXhzpbbbBq0dtV1lo0fHRCm6oGKm92H5xoFltWLe1hsx2ao9jCSzEAFf
268pbpMiIJQ=
=04AT
-----END PGP SIGNATURE-----

?