guix/gnu
Lars-Dominik Braun 09448c0994
build/python: Add a sanity check phase.
Add a new phase validating the usability of installed Python packages.

* gnu/packages/aux-files/python/sanity-check.py: New file.
* Makefile.am (AUX_FILES): Register it.
* guix/build-system/python.scm (sanity-check.py): New variable.
(lower): Add the script as an implicit input.
* guix/build/python-build-system.scm: Remove trailing #t.
(sanity-check): New phase.
(%standard-phases): Use it.
* tests/builders.scm: (make-python-dummy)
(dummy-ok, dummy-dummy-nosetuptools, dummy-fail-requirements)
(dummy-fail-import, dummy-fail-console-script): New variables.
("python-build-system: dummy-ok")
("python-build-system: dummy-dummy-nosetuptools")
("python-build-system: dummy-fail-requirements")
("python-build-system: dummy-fail-import")
("python-build-system: dummy-fail-console-script"): Add tests.
2021-02-01 11:53:43 -05:00
..
bootloader
build Merge branch 'staging' into 'core-updates'. 2021-01-13 23:45:53 -05:00
installer
machine
packages build/python: Add a sanity check phase. 2021-02-01 11:53:43 -05:00
services
system Merge branch 'staging' into 'core-updates'. 2021-01-13 23:45:53 -05:00
tests
artwork.scm
bootloader.scm
ci.scm
image.scm
installer.scm
local.mk gnu: fontconfig: Update to 2.13.93. 2021-01-29 15:05:41 -05:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm