diff options
author | Vinicius Monego <monego@posteo.net> | 2022-08-28 17:21:54 -0300 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2023-02-05 09:39:11 -0300 |
commit | f70baf8af0821af68784cdc48a4d00290522fee9 (patch) | |
tree | 9dab0398f759c2492201c38a0e76d5f83b3c62b0 | |
parent | add37404d9ef23018df059ae0de76bd62d0a443a (diff) | |
download | guix-f70baf8af0821af68784cdc48a4d00290522fee9.tar guix-f70baf8af0821af68784cdc48a4d00290522fee9.tar.gz |
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.
-rw-r--r-- | gnu/packages/python-xyz.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1cad8e54d8..e7edbccb7c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -80,7 +80,7 @@ ;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw> ;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org> ;;; 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 Hendursaga <hendursaga@yahoo.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 (package (name "python-diff-match-patch") - (version "20121119") + (version "20200713") (source (origin (method url-fetch) (uri (pypi-uri "diff-match-patch" version)) (sha256 (base32 - "0k1f3v8nbidcmmrk65m7h8v41jqi37653za9fcs96y7jzc8mdflx")))) + "063s8zcxz787xfg7d1wxpqh59fxg3iz85ww9zhyz4vaqm80mlvys")))) (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") (description "Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.") |