guix/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
..
build build/python: Add a sanity check phase. 2021-02-01 11:53:43 -05:00
build-system build/python: Add a sanity check phase. 2021-02-01 11:53:43 -05:00
import import: elpa: Updater gracefully handles missing upstream data. 2021-01-07 12:08:40 +01:00
scripts Merge branch 'staging' into 'core-updates'. 2021-01-13 23:45:53 -05:00
store Merge branch 'staging' into 'core-updates'. 2021-01-13 23:45:53 -05:00
tests
android-repo-download.scm
avahi.scm avahi: Remove poll timeout when possible. 2020-12-20 10:40:57 +01:00
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm
ci.scm ci: Add "evaluation" method. 2020-12-07 16:15:55 +01:00
colors.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
d3.v3.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm
discovery.scm
docker.scm
download.scm download: Update ImageMagick mirror list. 2020-12-13 01:05:57 +01:00
elf.scm
ftp-client.scm
gexp.scm Merge branch 'staging' into 'core-updates'. 2021-01-13 23:45:53 -05:00
git-authenticate.scm
git-download.scm
git.scm git: 'reference-available?' handles short commit IDs. 2020-12-04 23:45:09 +01:00
glob.scm guix: Add globstar support. 2020-12-09 22:25:17 +01:00
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
graph.scm graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
hg-download.scm
http-client.scm substitute: Cache and reuse connections while substituting. 2020-12-08 22:30:08 +01:00
i18n.scm
inferior.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
licenses.scm
lint.scm upstream: Make the 'updaters' parameter optional. 2021-01-07 12:08:41 +01:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
nar.scm database: Remove #:deduplicate? from 'register-items'. 2020-12-15 17:32:11 +01:00
openpgp.scm
packages.scm build-systems/gnu: Allow unpacking/repacking more kind of files. 2021-01-26 22:48:35 -05:00
pki.scm
profiles.scm gnu: texlive-bin: Enable the use of multiple TeX Live trees. 2021-01-29 13:35:47 -05:00
profiling.scm
progress.scm status: Do not emit ANSI escapes when stderr is not a tty. 2020-12-18 16:13:39 +01:00
quirks.scm
records.scm
remote.scm
repl.scm
scripts.scm Discover extensions via GUIX_EXTENSIONS_PATH. 2021-01-05 23:58:21 +01:00
search-paths.scm
self.scm graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
serialization.scm daemon: Delegate deduplication to 'guix substitute'. 2020-12-19 23:25:01 +01:00
sets.scm
ssh.scm ssh: Use 'guix repl' instead of 'guile'. 2020-12-23 16:03:32 +01:00
status.scm status: Do not emit ANSI escapes when stderr is not a tty. 2020-12-18 16:13:39 +01:00
store.scm
svn-download.scm
swh.scm
tests.scm build-systems/gnu: Allow unpacking/repacking more kind of files. 2021-01-26 22:48:35 -05:00
transformations.scm transformations: Add '--with-patch'. 2020-12-27 17:23:40 +01:00
ui.scm ui: Fix order of match clauses. 2021-01-07 18:10:58 +01:00
upstream.scm upstream: Make the 'updaters' parameter optional. 2021-01-07 12:08:41 +01:00
utils.scm Merge branch 'staging' into 'core-updates'. 2021-01-13 23:45:53 -05:00
workers.scm