Subject: bug#48553: closed (Re: [bug#48553] [PATCH] gnu: Add numdiff.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 21 May 2021 10:40:01 +0000

Your bug report

#48553: [PATCH] gnu: Add numdiff.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
48553: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48553
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#48553] [PATCH] gnu: Add numdiff.
From: Roel Janssen <[email-masked]>
To: [email-masked]
Date: Fri, 21 May 2021 12:39:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, 2021-05-21 at 02:50 +0000, Paul A. Patience wrote:
> * gnu/packages/maths.scm (numdiff): New variable.
> ---
>  gnu/packages/maths.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index 6b3f5cf41c..98be1bc211 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -45,6 +45,7 @@
>  ;;; Copyright © 2021 Gerd Heber <[email-masked]>
>  ;;; Copyright © 2021 Franck Pérignon
> <[email-masked]>
>  ;;; Copyright © 2021 Philip McGrath <[email-masked]>
> +;;; Copyright © 2021 Paul A. Patience <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -6229,3 +6230,32 @@ and conversions, physical constants, symbolic
> calculations (including
>  integrals and equations), arbitrary precision, uncertainty
> propagation,
>  interval arithmetic, plotting.")
>      (license license:gpl2+)))
> +
> +(define-public numdiff
> +  (package
> +    (name "numdiff")
> +    (version "5.9.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> "http://savannah.nongnu.org/download/numdiff/numdiff-"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:tests? #f
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-before 'compress-documentation 'delete-precompressed-
> info-file
> +           (lambda _
> +             (delete-file (string-append (assoc-ref %outputs "out")
> +                                        
> "/share/info/numdiff.info.gz"))
> +             #t)))))
> +    (home-page "https://nongnu.org/numdiff/")
> +    (synopsis "Compare files with numeric fields")
> +    (description
> +     "Numdiff compares files line by line and field by field,
> ignoring small
> +numeric differences and differences in numeric formats.")
> +    (license license:gpl3+)))
> --
> 2.31.1
> 
> 
> 
> 

Subject: [PATCH] gnu: Add numdiff.
From: "Paul A. Patience" <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Fri, 21 May 2021 02:50:37 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/maths.scm (numdiff): New variable.
---
 gnu/packages/maths.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 6b3f5cf41c..98be1bc211 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -45,6 +45,7 @@
 ;;; Copyright © 2021 Gerd Heber <[email-masked]>
 ;;; Copyright © 2021 Franck Pérignon <[email-masked]>
 ;;; Copyright © 2021 Philip McGrath <[email-masked]>
+;;; Copyright © 2021 Paul A. Patience <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6229,3 +6230,32 @@ and conversions, physical constants, symbolic calculations (including
 integrals and equations), arbitrary precision, uncertainty propagation,
 interval arithmetic, plotting.")
     (license license:gpl2+)))
+
+(define-public numdiff
+  (package
+    (name "numdiff")
+    (version "5.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://savannah.nongnu.org/download/numdiff/numdiff-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'compress-documentation 'delete-precompressed-info-file
+           (lambda _
+             (delete-file (string-append (assoc-ref %outputs "out")
+                                         "/share/info/numdiff.info.gz"))
+             #t)))))
+    (home-page "https://nongnu.org/numdiff/")
+    (synopsis "Compare files with numeric fields")
+    (description
+     "Numdiff compares files line by line and field by field, ignoring small
+numeric differences and differences in numeric formats.")
+    (license license:gpl3+)))
--
2.31.1