From patchwork Fri May 21 02:50:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 29439 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D4AC327BC81; Fri, 21 May 2021 03:51:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8B8BA27BC78 for ; Fri, 21 May 2021 03:51:08 +0100 (BST) Received: from localhost ([::1]:42030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljvFj-0003wt-Jf for patchwork@mira.cbaines.net; Thu, 20 May 2021 22:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljvFe-0003wl-Nn for guix-patches@gnu.org; Thu, 20 May 2021 22:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljvFe-0004qk-G0 for guix-patches@gnu.org; Thu, 20 May 2021 22:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ljvFe-0005w7-Dq for guix-patches@gnu.org; Thu, 20 May 2021 22:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48553] [PATCH] gnu: Add numdiff. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 May 2021 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48553 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48553@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.162156545722806 (code B ref -1); Fri, 21 May 2021 02:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2021 02:50:57 +0000 Received: from localhost ([127.0.0.1]:35477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljvFY-0005vm-Oi for submit@debbugs.gnu.org; Thu, 20 May 2021 22:50:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:57756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljvFV-0005vc-6a for submit@debbugs.gnu.org; Thu, 20 May 2021 22:50:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljvFU-0003w1-Un for guix-patches@gnu.org; Thu, 20 May 2021 22:50:52 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:47672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljvFQ-0004bP-KT for guix-patches@gnu.org; Thu, 20 May 2021 22:50:52 -0400 Date: Fri, 21 May 2021 02:50:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1621565443; bh=RBwpNsnUDZ2UKC/OkT/tieb89Z9Rp9i9P6alW6JEptg=; h=Date:To:From:Reply-To:Subject:From; b=DphQk8JZDh+wVICz+WjyvuyW8/0owE60cbDI2JnDTUncpge1t3bB4UPc7F3BtsDAY 3lmhHurW0NrUta5AfOtOIPYMs6sxLyDp00fl/PJThkDH2Xu09idOd8Y43k6mGX96V0 xJnSn1BIdJoxepUbspwAEg0Yac8xV/hUm5CpHBUBITqFDD5XSUc9I2VrfoE2BcexEL 3ihvyFPiC9c4Rayq9lTjBvXntXuvBmMxLTyK38wVeZhjDxnXaznyEZMiorZNdvg29V LIyU87m3zn//vgRY1QxxjVm575gikelY+aA3rO5fis/ljmg6kE/QS4cd221zklwHhy zKbLh5uTCvfxA== From: "Paul A. Patience" Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.18; envelope-from=paul@apatience.com; helo=mail1.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/maths.scm (numdiff): New variable. --- gnu/packages/maths.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 2.31.1 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 ;;; Copyright © 2021 Franck Pérignon ;;; Copyright © 2021 Philip McGrath +;;; Copyright © 2021 Paul A. Patience ;;; ;;; 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+)))