civodul pushed a commit to branch master
in repository guix.

commit 3dfaa32ed0aad4355a0ab810545e621e119a30b7
Author: Dariqq <dar...@posteo.net>
AuthorDate: Sun Jan 26 12:27:07 2025 +0000

    gnu: python-patiencediff: Update to 0.2.15.
    
    * gnu/packages/python-xyz.scm (python-patiencediff): Update to 0.2.15.
    [build-system]: Use pyproject-build-system.
    [arguments]: Skip sanity check
    [native-inputs]: Add python-pytest, python-setuptools, python-wheel.
    [license]: Correct to gpl2+.
    
    Change-Id: I3afe082fafffc3c8d6e78d742d921a13f284428c
    Signed-off-by: Ludovic Courtès <l...@gnu.org>
---
 gnu/packages/python-xyz.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 18011c6b0f..c2d4784c16 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9905,22 +9905,28 @@ readable format.")
 (define-public python-patiencediff
   (package
     (name "python-patiencediff")
-    (version "0.2.0")
+    (version "0.2.15")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "patiencediff" version))
         (sha256
          (base32
-          "0yjk50lsd4gnllxls925xbcdxwvmda37w2a1shk0p1nvl3fcha6q"))))
-    (build-system python-build-system)
+          "012jjgkkpk563l1mgj2ax4z32h0l558adhr2qa3chfrfsgpi22fh"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   ;; Fails because bin/patiencediff expects two files to diff
+                   (delete 'sanity-check))))
+    (native-inputs (list python-pytest python-setuptools python-wheel))
     (home-page "https://www.breezy-vcs.org/";)
     (synopsis "Python implementation of the patiencediff algorithm")
     (description
      "This package contains a Python implementation of the @code{patiencediff}
 algorithm.  Patiencediff provides a good balance of performance, nice output 
for
 humans, and implementation simplicity.")
-    (license license:gpl2)))
+    (license license:gpl2+)))
 
 (define-public python-wmctrl
   (package

Reply via email to