guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 89e9a8fc8b99218b42133d5c9e72b2118327419d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jan 1 20:15:33 2026 +0000

    gnu: clang-python-bindings: Switch to pyproject.
    
    * gnu/packages/llvm.scm (clang-python-bindings):
    [build-system]: Switch to pyproject-build-system.
    [arguments] <phases>: Remove 'create-setup-py.
    
    Change-Id: Ib309578926fd3e87cdd68a97b27df0b4d721d3ee
---
 gnu/packages/llvm.scm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 5da233ab7e..3b6dc67a25 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2025 Andreas Enge <[email protected]>
 ;;; Copyright © 2025 Liam Hupfer <[email protected]>
 ;;; Copyright © 2025 dan <[email protected]>
+;;; Copyright © 2026 Sharlatan Hellseher <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1723,7 +1724,7 @@ existing compilers together.")
   (package
     (inherit clang)
     (name "python-clang")
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (outputs '("out"))
     (arguments
      (list
@@ -1731,15 +1732,6 @@ existing compilers together.")
                    (add-before 'build 'change-directory
                      (lambda _
                        (chdir "bindings/python")))
-                   (add-before 'build 'create-setup-py
-                     (lambda _
-                       ;; Generate a basic "setup.py", enough so it can be
-                       ;; built and installed.
-                       (with-output-to-file "setup.py"
-                         (lambda ()
-                           (format #true "from setuptools import setup
-setup(name=\"clang\", version=\"~a\", packages=[\"clang\"])\n"
-                                   #$(package-version this-package))))))
                    (add-before 'build 'set-libclang-file-name
                      (lambda* (#:key inputs #:allow-other-keys)
                        ;; Record the absolute file name of libclang.so.

Reply via email to