summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-19 22:40:08 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-19 22:40:27 +0100
commit39d37eed034230cd7a24ca0848bfc9edf4f4c259 (patch)
tree7fa76d6932b5d9536bd026606df76701a4abb2e1 /gnu/packages/python-xyz.scm
parent6ea81664340745537489ebc21d52a9062f181f68 (diff)
gnu: python-incremental: Improve packaging.
* gnu/packages/python-xyz.scm (python-incremental)[arguments] <build-backend>: Use it instead of patching pyproject.toml. <phases>: Remove 'patch-build-system. [propagated-inputs]: Remove python-tomli. [native-inputs]: Remove python-pytest and python-wheel. Change-Id: Ie80d4bf324e7a52a6aa2ae127f0248dd131ee97a
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 5 insertions, 15 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 27c1ac6ba4..6296a02fd2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25325,21 +25325,11 @@ manipulation and interaction with formal grammars.")
"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))
+ ;; Tests require twisted, which needs this package.
+ (list #:tests? #false
+ #:build-backend "setuptools.build_meta"))
+ (native-inputs
+ (list python-setuptools))
(home-page "https://github.com/hawkowl/incremental")
(synopsis "Library for versioning Python projects")
(description "Incremental is a small library that versions your Python