summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-16 21:51:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:59 +0100
commit314ef4ccd840751f3237a1b068d2880448f21d21 (patch)
tree4a35865f836e76ea0b4a37de7879318abf1a9d06 /gnu/packages/python-xyz.scm
parenta2a628de682a4c1d5f1444d4bb8f4ecd680af303 (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm22
1 files 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