unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59697] [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.
@ 2022-11-29 21:15 Sharlatan Hellseher
  2022-12-06 11:44 ` bug#59697: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2022-11-29 21:15 UTC (permalink / raw)
  To: 59697; +Cc: Sharlatan Hellseher

* gnu/packages/astronomy.scm (sgp4): Update to 1.0-2.6a448b4.
---
 gnu/packages/astronomy.scm | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 439fdf72a8..98f3ea0e00 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1810,12 +1810,12 @@ (define-public gpredict
     (license license:gpl2+)))
 
 (define-public sgp4
-  ;; No tagged releases, use commit directly.
-  (let ((commit "ca9d4d97af4ee62461de6f13e0c85d1dc6000040")
-        (revision "1"))
+  ;; Version tag v1.0 is dated to <2021-01-11>, use the lates commit instead.
+  (let ((commit "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91")
+        (revision "2"))
     (package
       (name "sgp4")
-      (version (git-version "0.0.0" revision commit))
+      (version (git-version "1.0" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -1824,17 +1824,20 @@ (define-public sgp4
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1xwfa6papmd2qz5w0hwzvijmzvp9np8dlw3q3qz4bmsippzjv8p7"))))
+          (base32 "15q8sain87cbppmzq66y6gp6bvm3kdd1bcchrl59rcvjp0w51wl1"))))
       (build-system cmake-build-system)
       (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (replace 'check
-             (lambda _
-               ;; Tests fails, probably because of a few "(e <= -0.001)" errors.
-               ;; Or maybe this is not the right way to run the tests?
-               ;; (invoke "runtest/runtest")
-               #t)))))
+       (list
+        ;; FIXME: Tests evaluated via runtest binary, but it's failing even
+        ;; when SGP4-VER.TLE file was copied next to it during install phase.
+        ;;
+        ;; There are 2 more binaries are created after build phase -
+        ;; passpredict and sattrack which are failing to execute after
+        ;; install, strace output:
+        ;;
+        ;; strace: exec: Exec format error
+        ;;
+        #:tests? #f))
       (home-page "https://github.com/dnwrnr/sgp4")
       (synopsis "Simplified perturbations models library")
       (description

base-commit: 3cff7bfa9b46f1b73381df79a6f2aaa55a332126
-- 
2.38.1





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

* bug#59697: [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.
  2022-11-29 21:15 [bug#59697] [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4 Sharlatan Hellseher
@ 2022-12-06 11:44 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-12-06 11:44 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 59697-done, guix-patches

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


Sharlatan Hellseher <sharlatanus@gmail.com> writes:

> * gnu/packages/astronomy.scm (sgp4): Update to 1.0-2.6a448b4.
> ---
>  gnu/packages/astronomy.scm | 29 ++++++++++++++++-------------
>  1 file changed, 16 insertions(+), 13 deletions(-)

This looks good to me! I've pushed it to master as
4a9dd8607f3be46ea40237d506401daf3af84dba.

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-12-06 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 21:15 [bug#59697] [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4 Sharlatan Hellseher
2022-12-06 11:44 ` bug#59697: " 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).