~ruther/guix-local

314ef4ccd840751f3237a1b068d2880448f21d21 — Ricardo Wurmus 1 year, 4 months ago a2a628d
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
1 files changed, 19 insertions(+), 3 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +19 -3
@@ 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