rekado pushed a commit to branch master
in repository guix.

commit 314ef4ccd840751f3237a1b068d2880448f21d21
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Jan 16 21:51:16 2025 +0100

    gnu: python-incremental: Update to 24.7.2.
    
    * gnu/packages/python-xyz.scm (python-incremental): Update to 24.7.2.
    [build-system]: Use pyproject-build-system.
    [arguments]: Add phase 'patch-build-system; disable tests.
    [native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
    [propagated-inputs]: Add python-tomli.
    
    Change-Id: I6c49f2da746398d469f6fdc611fc08cfbe72a0e1
---
 gnu/packages/python-xyz.scm | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c07d934d48..e3de9778cf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25404,15 +25404,31 @@ manipulation and interaction with formal grammars.")
 (define-public python-incremental
   (package
     (name "python-incremental")
-    (version "22.10.0")
+    (version "24.7.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "incremental" version))
        (sha256
         (base32
-         "1l0b9k158n04cmcccdq9phdy20h08lpis922dy71iq7pw2sywbwi"))))
-    (build-system python-build-system)
+         "1jb4skmy8awix345jk2pnar0sxmrf1gvn3kg9xyyivv0xr3iskzv"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Tests require twisted, which needs this package.
+      #:tests? #false
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'patch-build-system
+           (lambda _
+             (substitute* "pyproject.toml"
+               (("^backend-path.*") "")
+               (("^build-backend.*")
+                "build-backend = 'setuptools.build_meta'\n")))))))
+    (native-inputs (list python-pytest
+                         python-setuptools
+                         python-wheel))
+    (propagated-inputs (list python-tomli))
     (home-page "https://github.com/hawkowl/incremental";)
     (synopsis "Library for versioning Python projects")
     (description "Incremental is a small library that versions your Python

Reply via email to