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
This commit is contained in:
Vinicius Monego 2025-06-20 00:53:27 -03:00
parent a956be67e2
commit 2d97b92ab6
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -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