GNU bug report logs - #48553
[PATCH] gnu: Add numdiff.

Previous Next

Package: guix-patches;

Reported by: "Paul A. Patience" <paul <at> apatience.com>

Date: Fri, 21 May 2021 02:51:02 UTC

Severity: normal

Tags: patch

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48553 in the body.
You can then email your comments to 48553 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48553; Package guix-patches. (Fri, 21 May 2021 02:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Paul A. Patience" <paul <at> apatience.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 21 May 2021 02:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add numdiff.
Date: Fri, 21 May 2021 02:50:37 +0000
* 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 <gerd.heber <at> gmail.com>
 ;;; Copyright © 2021 Franck Pérignon <franck.perignon <at> univ-grenoble-alpes.fr>
 ;;; Copyright © 2021 Philip McGrath <philip <at> philipmcgrath.com>
+;;; Copyright © 2021 Paul A. Patience <paul <at> apatience.com>
 ;;;
 ;;; 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




Information forwarded to guix-patches <at> gnu.org:
bug#48553; Package guix-patches. (Fri, 21 May 2021 10:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 48553 <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: "Paul A. Patience" <paul <at> apatience.com>, 48553 <at> debbugs.gnu.org
Subject: Re: [bug#48553] [PATCH] gnu: Add numdiff.
Date: Fri, 21 May 2021 12:37:51 +0200
Hi Paul,

I pushed this patch with a minor modifications I outline below.

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 <gerd.heber <at> gmail.com>
>  ;;; Copyright © 2021 Franck Pérignon < 
> franck.perignon <at> univ-grenoble-alpes.fr>
>  ;;; Copyright © 2021 Philip McGrath <philip <at> philipmcgrath.com>
> +;;; Copyright © 2021 Paul A. Patience <paul <at> apatience.com>
>  ;;;
>  ;;; 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"))

I changed the URI to "mirror://savannah/numdiff/numdiff-...".

> +       (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
> 

Thanks you!

Kind regards,
Roel Janssen






Reply sent to Roel Janssen <roel <at> gnu.org>:
You have taken responsibility. (Fri, 21 May 2021 10:40:01 GMT) Full text and rfc822 format available.

Notification sent to "Paul A. Patience" <paul <at> apatience.com>:
bug acknowledged by developer. (Fri, 21 May 2021 10:40:01 GMT) Full text and rfc822 format available.

Message #13 received at 48553-done <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: 48553-done <at> debbugs.gnu.org
Subject: Re: [bug#48553] [PATCH] gnu: Add numdiff.
Date: Fri, 21 May 2021 12:39:39 +0200
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 <gerd.heber <at> gmail.com>
>  ;;; Copyright © 2021 Franck Pérignon
> <franck.perignon <at> univ-grenoble-alpes.fr>
>  ;;; Copyright © 2021 Philip McGrath <philip <at> philipmcgrath.com>
> +;;; Copyright © 2021 Paul A. Patience <paul <at> apatience.com>
>  ;;;
>  ;;; 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
> 
> 
> 
> 






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Jun 2021 11:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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