gnu: python-u-boot-pylib: Fix pyproject.toml.

* gnu/packages/bootloaders.scm (python-u-boot-pylib)[arguments]: Add
list-package phase.
This commit is contained in:
Herman Rimm 2024-07-19 08:21:08 +02:00 committed by Ryan Schanzenbacher
parent adabfcfd37
commit 8aea73c8e6
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -961,6 +961,13 @@ (define-public python-u-boot-pylib
(add-after 'unpack 'chdir
(lambda _
(chdir "tools/u_boot_pylib")))
(add-after 'chdir 'list-package
(lambda _
(let ((port (open-file "pyproject.toml" "a")))
(display "[tool.setuptools.packages.find]\n" port)
(display "where = [\"..\"]\n" port)
(display "include = [\"u_boot_pylib*\"]" port)
(close-port port))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?