~ruther/guix-local

2d97b92ab6591580802b2bab940766b51552b13d — Vinicius Monego 1 year, 11 days ago a956be6
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
1 files changed, 5 insertions(+), 11 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -11
@@ 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