GNU bug report logs - #59496
[PATCH] gnu: python-cdflib: Update to 0.4.9.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Tue, 22 Nov 2022 23:24:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59496: closed ([PATCH] gnu: python-cdflib: Update to 0.4.9.)
Date: Wed, 23 Nov 2022 10:02:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 23 Nov 2022 10:01:17 +0000
with message-id <87mt8iq9a6.fsf <at> cbaines.net>
and subject line Re: [bug#59496] [PATCH] gnu: python-cdflib: Update to 0.4.9.
has caused the debbugs.gnu.org bug report #59496,
regarding [PATCH] gnu: python-cdflib: Update to 0.4.9.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59496: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59496
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH] gnu: python-cdflib: Update to 0.4.9.
Date: Tue, 22 Nov 2022 23:23:12 +0000
* 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



[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59496-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#59496] [PATCH] gnu: python-cdflib: Update to 0.4.9.
Date: Wed, 23 Nov 2022 10:01:17 +0000
[Message part 4 (text/plain, inline)]
Sharlatan Hellseher <sharlatanus <at> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.