~ruther/guix-local

f9b04997f2a79b386ea06ae4b5211ccbd67c429f — Maxim Cournoyer 2 years ago 725960c
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
1 files changed, 6 insertions(+), 2 deletions(-)

M guix/build-system/pyproject.scm
M guix/build-system/pyproject.scm => guix/build-system/pyproject.scm +6 -2
@@ 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