From patchwork Tue Feb 12 02:08:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vagrant Cascadian X-Patchwork-Id: 1030 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 F28DF16B4B; Tue, 12 Feb 2019 02:10:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9A36716B40 for ; Tue, 12 Feb 2019 02:10:28 +0000 (GMT) Received: from localhost ([127.0.0.1]:59828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtNWm-0005XC-22 for patchwork@mira.cbaines.net; Mon, 11 Feb 2019 21:10:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtNWg-0005X6-EI for guix-patches@gnu.org; Mon, 11 Feb 2019 21:10:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtNWV-0006cH-Pq for guix-patches@gnu.org; Mon, 11 Feb 2019 21:10:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtNWM-0006V4-HF for guix-patches@gnu.org; Mon, 11 Feb 2019 21:10:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtNWM-00058t-5j for guix-patches@gnu.org; Mon, 11 Feb 2019 21:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34449] [PATCH] gnu: Add trydiffoscope. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Feb 2019 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34449 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34449@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154993734319688 (code B ref -1); Tue, 12 Feb 2019 02:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2019 02:09:03 +0000 Received: from localhost ([127.0.0.1]:44291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtNVP-00057T-3u for submit@debbugs.gnu.org; Mon, 11 Feb 2019 21:09:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtNVM-00056z-UR for submit@debbugs.gnu.org; Mon, 11 Feb 2019 21:09:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:48754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtNVG-0005mg-TZ for submit@debbugs.gnu.org; Mon, 11 Feb 2019 21:08:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtNVF-0005Iz-Nx for guix-patches@gnu.org; Mon, 11 Feb 2019 21:08:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtNVD-0005ky-Gv for guix-patches@gnu.org; Mon, 11 Feb 2019 21:08:53 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:56026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtNV8-0005iC-5S for guix-patches@gnu.org; Mon, 11 Feb 2019 21:08:49 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id E4BD51AA27 for ; Mon, 11 Feb 2019 18:08:41 -0800 (PST) From: Vagrant Cascadian Date: Mon, 11 Feb 2019 18:08:36 -0800 Message-ID: <87wom53gij.fsf@ponder> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/package-management (trydiffoscope): New variable. --- gnu/packages/package-management.scm | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 587d028d92..49208e3191 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -606,6 +606,50 @@ various binary formats into more human readable forms to compare them. It can compare two tarballs, ISO images, or PDFs just as easily.") (license license:gpl3+))) +(define-public trydiffoscope + (package + (name "trydiffoscope") + (version "67.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://salsa.debian.org/reproducible-builds/trydiffoscope.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03b66cjii7l2yiwffj6ym6mycd5drx7prfp4j2550281pias6mjh")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((share (string-append (assoc-ref outputs "out") "/usr/share/"))) + (mkdir-p (string-append share "/man/man1/" )) + (invoke "rst2man.py" + "trydiffoscope.1.rst" + (string-append share "/man/man1/trydiffoscope.1")) + (mkdir-p (string-append share "/doc/" ,name "-" ,version)) + (install-file "./README.rst" + (string-append share "/doc/" ,name "-" ,version)))))))) + (native-inputs + `(("gzip" ,gzip) + ("python-docutils" ,python-docutils))) + (build-system python-build-system) + (home-page "https://try.diffoscope.org") + (synopsis "Compare files and archives in depth") + (description + "This is a minimal diffoscope client that connects to the service: + +https://try.diffoscope.org. + +Diffoscope tries to get to the bottom of what makes files or directories +different. It recursively unpacks archives of many kinds and transforms +various binary formats into more human readable forms to compare them. It can +compare two tarballs, ISO images, or PDFs just as easily.") + (license license:gpl3+))) + (define-public python-anaconda-client (package (name "python-anaconda-client")