Files
guix-mirror/guix
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
..
2019-12-15 00:34:05 +01:00
2020-12-07 16:15:55 +01:00
2020-07-05 03:15:08 +05:30
2020-10-12 11:28:56 +02:00
2021-01-04 23:54:16 +01:00
2020-07-05 16:07:59 +05:30
2020-12-09 22:25:17 +01:00
2020-04-17 23:36:47 +02:00
2021-01-04 23:54:16 +01:00
2021-01-04 23:54:16 +01:00
2020-12-19 23:25:01 +01:00
2019-03-13 23:12:43 +01:00
2020-12-19 23:25:01 +01:00
2021-01-04 23:54:16 +01:00
2020-11-23 14:10:34 +01:00
2021-01-07 18:10:58 +01:00