Subject: [PATCH 1/4] gnu: python-patiencediff: Update to 0.2.15.

From: Dariqq <[email-masked]>
Date: Sun, 26 Jan 2025 12:27:07 +0000

* 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
---
 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 7fcf9c3ba8..ce270846e8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9705,22 +9705,28 @@ (define-public python-pygit2
 (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
-- 
2.47.1