guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/10: build-system: pyproject: Add allowed/disallowed keyword arguments


From: guix-commits
Subject: 03/10: build-system: pyproject: Add allowed/disallowed keyword arguments.
Date: Mon, 22 Jan 2024 00:24:00 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit cecb025583a6a4abf34f64c1b52aed7bc154e573
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 21 21:07:22 2024 -0500

    build-system: pyproject: Add allowed/disallowed keyword arguments.
    
    * gnu/build-system/pyproject.scm (pyproject-build) Add ALLOWED-REFERENCES 
and
    DISALLOWED-REFERENCES keywords.
    
    Change-Id: I404cbd8409332705b023c7a3b0b8fafbfaefe28b
---
 guix/build-system/pyproject.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/guix/build-system/pyproject.scm b/guix/build-system/pyproject.scm
index 2a2c3af3f3..9a27ebee35 100644
--- a/guix/build-system/pyproject.scm
+++ b/guix/build-system/pyproject.scm
@@ -98,7 +98,9 @@
                           (guile #f)
                           (imported-modules %pyproject-build-system-modules)
                           (modules '((guix build pyproject-build-system)
-                                     (guix build utils))))
+                                     (guix build utils)))
+                          allowed-references
+                          disallowed-references)
   "Build SOURCE using PYTHON, and with INPUTS."
   (define build
     (with-imported-modules imported-modules
@@ -131,7 +133,9 @@
                       #:system system
                       #:graft? #f                 ;consistent with 'gnu-build'
                       #:target #f
-                      #:guile-for-build guile)))
+                      #:guile-for-build guile
+                      #:allowed-references allowed-references
+                      #:disallowed-references disallowed-references)))
 
 (define pyproject-build-system
   (build-system



reply via email to

[Prev in Thread] Current Thread [Next in Thread]