mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
adabfcfd37
commit
8aea73c8e6
1 changed files with 7 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue