guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 515a637259657bfb837ff7a7678663643f88db49
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Aug 20 21:38:47 2025 +0100

    gnu: python-sgp4: Update to 2.25.
    
    * gnu/packages/astronomy.scm (python-sgp4): Update to 2.25.
    [arguments] <phases>: Use custom 'check.
    [native-inputs]: Remove python-setuptools and python-wheel; add
    python-setuptools-next.
    
    Change-Id: Ifa727fec0b229d8a37826c8b43d5b2033a45cb62
---
 gnu/packages/astronomy.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b931cbbfb0..13f7c124b5 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6365,17 +6365,24 @@ library with bug fixtures.")
 (define-public python-sgp4
   (package
     (name "python-sgp4")
-    (version "2.24")
+    (version "2.25")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sgp4" version))
        (sha256
-        (base32 "0ll3gxjf697llh6nvisxnj2h4hl23nq1m24ymsykz8kf4ygj8man"))))
+        (base32 "0x06mxdmk2rsbp7ymjvvbj8pwkf4y2w6g8p0znw9zmi5rinxr7p1"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "python" "-m" "sgp4.tests")))))))
     (native-inputs
-     (list python-setuptools
-           python-wheel))
+     (list python-setuptools-next))
     (propagated-inputs
      (list python-numpy))
     (home-page "https://github.com/brandon-rhodes/python-sgp4";)

Reply via email to