From patchwork Tue Oct 26 14:48:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 34070 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 F35F227BBE3; Tue, 26 Oct 2021 15:50:18 +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_H2,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 B560027BBE1 for ; Tue, 26 Oct 2021 15:50:18 +0100 (BST) Received: from localhost ([::1]:60588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfNmL-0006h2-LV for patchwork@mira.cbaines.net; Tue, 26 Oct 2021 10:50:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfNm6-0006gq-Od for guix-patches@gnu.org; Tue, 26 Oct 2021 10:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfNm6-0008Rf-FG for guix-patches@gnu.org; Tue, 26 Oct 2021 10:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfNm6-0001wN-CR for guix-patches@gnu.org; Tue, 26 Oct 2021 10:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50021] [PATCH v2 8/8] gnu: python-diff-match-patch: Update to 20200713. References: <20210812012912.44638-1-monego@posteo.net> In-Reply-To: <20210812012912.44638-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Oct 2021 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50021@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50021-submit@debbugs.gnu.org id=B50021.16352597717404 (code B ref 50021); Tue, 26 Oct 2021 14:50:02 +0000 Received: (at 50021) by debbugs.gnu.org; 26 Oct 2021 14:49:31 +0000 Received: from localhost ([127.0.0.1]:47322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfNlb-0001vM-5q for submit@debbugs.gnu.org; Tue, 26 Oct 2021 10:49:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]:32921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfNlZ-0001v5-0y for 50021@debbugs.gnu.org; Tue, 26 Oct 2021 10:49:29 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 80D32240104 for <50021@debbugs.gnu.org>; Tue, 26 Oct 2021 16:49:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1635259762; bh=5dI/gaHTJiY8XZw7/EDG1W8Ti13j44ZH1s+tp4UUAgE=; h=From:To:Cc:Subject:Date:From; b=HLwd3YhGv7ZIxRrJqvLUle8fMe+kryStcplLQ6Ja0oLg0l0zi/IzyqC645yiABcxF NjU3aGaLbYuMun5D/5VDOws9KSriJV65q6UwpMEy0P/20rRi6p6k0xsi+Dm6cnbp0J uw1UTNMCF7JxlnSzmBi4Wd3wVDjhWzf4jEtocR1qen9WWiY5bmrbFB10ir0P5RHCWG OED4xnrZ/fPKbXZn7BC+Ix8/FpjhKLHTA5QzzK6tsc0o+zFINVAqlvFL8jAjIlZK9+ RJDJfQ4PRsNmFN6E9AjVIl5Q0xwOtgTGtwElTUAM3h2jUYc/qu2VPsGHJp7yI57yR5 Idto1cUEhSgIA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hdvq51gTPz6tmB; Tue, 26 Oct 2021 16:49:20 +0200 (CEST) From: Vinicius Monego Date: Tue, 26 Oct 2021 14:48:55 +0000 Message-Id: <20211026144855.105293-1-monego@posteo.net> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-diff-match-patch): Update to 20200713. [arguments]<#:phases>: Override 'check phase. [home-page]: Change to GitHub URL. --- gnu/packages/python-xyz.scm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 778e68f4f3..5d07003a5b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18348,16 +18348,25 @@ make common patterns shorter and easier.") (define-public python-diff-match-patch (package (name "python-diff-match-patch") - (version "20121119") + (version "20200713") (source (origin (method url-fetch) (uri (pypi-uri "diff-match-patch" version)) (sha256 (base32 - "0k1f3v8nbidcmmrk65m7h8v41jqi37653za9fcs96y7jzc8mdflx")))) + "063s8zcxz787xfg7d1wxpqh59fxg3iz85ww9zhyz4vaqm80mlvys")))) (build-system python-build-system) - (home-page "https://code.google.com/p/google-diff-match-patch") + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "unittest" + "diff_match_patch.tests"))))))) + (home-page "https://github.com/diff-match-patch-python/diff-match-patch") (synopsis "Synchronize plain text") (description "Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.")