guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit e9debdc03d8e63abc648cc69c3da8853244fc19a
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jan 1 11:51:33 2026 +0100

    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 <[email protected]>
---
 gnu/packages/python-build.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 4289443a85..b7638ec111 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -810,6 +810,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)

Reply via email to