guix/guix/build
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
..
maven
android-ndk-build-system.scm
android-repo.scm
ant-build-system.scm
asdf-build-system.scm
bournish.scm
bzr.scm
cargo-build-system.scm build-system/cargo: Use argument "--no-track" in "cargo install". 2020-12-31 14:42:15 +02:00
cargo-utils.scm
chicken-build-system.scm
clojure-build-system.scm
clojure-utils.scm
cmake-build-system.scm
compile.scm
copy-build-system.scm
cvs.scm
debug-link.scm
download-nar.scm
download.scm
dub-build-system.scm
dune-build-system.scm
emacs-build-system.scm build-systems/emacs: No longer skip patching of files containing NULs. 2021-01-08 14:10:33 -05:00
emacs-utils.scm
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm
gnu-bootstrap.scm
gnu-build-system.scm build-systems/gnu: Allow unpacking/repacking more kind of files. 2021-01-26 22:48:35 -05:00
gnu-dist.scm
go-build-system.scm
graft.scm
gremlin.scm
guile-build-system.scm
haskell-build-system.scm
hg.scm
java-utils.scm
json.scm
julia-build-system.scm
linux-module-build-system.scm
lisp-utils.scm
make-bootstrap.scm
maven-build-system.scm
meson-build-system.scm
minify-build-system.scm
node-build-system.scm
ocaml-build-system.scm
perl-build-system.scm
po.scm
profiles.scm
python-build-system.scm build/python: Add a sanity check phase. 2021-02-01 11:53:43 -05:00
qt-build-system.scm
qt-utils.scm
r-build-system.scm
rakudo-build-system.scm
ruby-build-system.scm
scons-build-system.scm
store-copy.scm guix system: 'init' copies, resets timestamps, and deduplicates at once. 2020-12-15 17:32:11 +01:00
svn.scm
syscalls.scm
texlive-build-system.scm gnu: texlive-bin: Enable the use of multiple TeX Live trees. 2021-01-29 13:35:47 -05:00
union.scm
utils.scm build-systems/gnu: Allow unpacking/repacking more kind of files. 2021-01-26 22:48:35 -05:00
waf-build-system.scm