gnu: python-diff-match-patch: Update to 20200713.

* gnu/packages/python-xyz.scm (python-diff-match-patch): Update to
20200713.
[arguments]: Override the 'check phase.
[home-page]: Update URL.
This commit is contained in:
Vinicius Monego 2022-08-28 17:21:54 -03:00
parent add37404d9
commit f70baf8af0
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -80,7 +80,7 @@
;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw> ;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org> ;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org> ;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com> ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com> ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
@ -20338,16 +20338,23 @@ point is the point of maximum curvature.")
(define-public python-diff-match-patch (define-public python-diff-match-patch
(package (package
(name "python-diff-match-patch") (name "python-diff-match-patch")
(version "20121119") (version "20200713")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "diff-match-patch" version)) (uri (pypi-uri "diff-match-patch" version))
(sha256 (sha256
(base32 (base32
"0k1f3v8nbidcmmrk65m7h8v41jqi37653za9fcs96y7jzc8mdflx")))) "063s8zcxz787xfg7d1wxpqh59fxg3iz85ww9zhyz4vaqm80mlvys"))))
(build-system python-build-system) (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 tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "unittest"
"diff_match_patch.tests")))))))
(home-page "https://github.com/diff-match-patch-python/diff-match-patch")
(synopsis "Synchronize plain text") (synopsis "Synchronize plain text")
(description "Diff Match and Patch libraries offer robust algorithms to (description "Diff Match and Patch libraries offer robust algorithms to
perform the operations required for synchronizing plain text.") perform the operations required for synchronizing plain text.")