unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59496] [PATCH] gnu: python-cdflib: Update to 0.4.9.
@ 2022-11-22 23:23 Sharlatan Hellseher
  2022-11-23 10:01 ` Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2022-11-22 23:23 UTC (permalink / raw)
  To: 59496; +Cc: Sharlatan Hellseher

* 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(-)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#59496] [PATCH] gnu: python-cdflib: Update to 0.4.9.
  2022-11-22 23:23 [bug#59496] [PATCH] gnu: python-cdflib: Update to 0.4.9 Sharlatan Hellseher
@ 2022-11-23 10:01 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-11-23 10:01 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 59496-done, 59496

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]


Sharlatan Hellseher <sharlatanus@gmail.com> writes:

> * 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-23 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 23:23 [bug#59496] [PATCH] gnu: python-cdflib: Update to 0.4.9 Sharlatan Hellseher
2022-11-23 10:01 ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).