summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-01 11:51:33 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:21 +0100
commitb638d576561d9bd4df0f8501f3c3456bf13a3868 (patch)
tree3458213441113288ab30a8ec960c45d493c7e28a /gnu/packages/python-build.scm
parent4c4eadd161c09e24205f1b0f5bfe2e596fcab04a (diff)
gnu: Add python-setuptools-scm-bootstrap.
* gnu/packages/python-build.scm (python-setuptools-scm-bootstrap): New variable. Change-Id: I9ba335003efe7c2d164a96526646ecca8e1ee347 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 770b876af45..2e689b75412 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -806,6 +806,21 @@ system, then @code{flit_core} to build the package.")
them as the version argument or in a SCM managed file.")
(license license:expat)))
+(define-public python-setuptools-scm-bootstrap
+ (package/inherit python-setuptools-scm
+ (name "python-setuptools-scm-bootstrap")
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f ;avoid extra dependencies such as pytest
+ ;; pyproject-build-system will error handle forms such as
+ ;; "module:object", so we set it.
+ #:build-backend "setuptools.build_meta"))
+ (native-inputs
+ (list python-packaging-bootstrap))
+ (propagated-inputs
+ (list python-setuptools-bootstrap))))
+
(define-public python-setuptools-scm-next
(package
(inherit python-setuptools-scm)