mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-25 02:21:49 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user