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
This commit is contained in:
Maxim Cournoyer 2024-01-21 21:07:22 -05:00 committed by Ludovic Courtès
parent 725960c9ba
commit f9b04997f2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -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