From 2d97b92ab6591580802b2bab940766b51552b13d Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 20 Jun 2025 00:53:27 -0300 Subject: [PATCH] gnu: python-diff-match-patch: Update to 20241021. * gnu/packages/python-xyz.scm (python-diff-match-patch): Update to 20241021. [source]: Update URI. [build-system]: Use pyproject-build-system. [arguments]<#:phases>: Do not override the 'check' phase. [native-inputs]: Add python-flit-core, python-pytest. Change-Id: I878e0e7d8c8d6ddaafa6ab54256372a458578790 --- gnu/packages/python-xyz.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1843ecea477..07ce5a2697f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26215,22 +26215,16 @@ code reviews.") (define-public python-diff-match-patch (package (name "python-diff-match-patch") - (version "20200713") + (version "20241021") (source (origin (method url-fetch) - (uri (pypi-uri "diff-match-patch" version)) + (uri (pypi-uri "diff_match_patch" version)) (sha256 (base32 - "063s8zcxz787xfg7d1wxpqh59fxg3iz85ww9zhyz4vaqm80mlvys")))) - (build-system python-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "unittest" - "diff_match_patch.tests"))))))) + "0wshhdnxvb7l45pjrj1fhrhvh7b6p1l2kvim559q9054kylmgbmy")))) + (build-system pyproject-build-system) + (native-inputs (list python-flit-core python-pytest)) (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