guix/tests
Maxim Cournoyer d514276b93
import: pypi: Include optional test inputs as native-inputs.
* guix/import/pypi.scm (maybe-inputs): Add INPUT-TYPE argument, and use it.
(test-section?): New predicate.
(parse-requires.txt): Collect the optional test inputs, and return them as the
second element of the returned list.
(parse-wheel-metadata): Likewise.
(guess-requirements): Adapt.
(make-pypi-sexp): Likewise, and include the test inputs requirements as native
inputs in the returned package expression.

* tests/pypi.scm (test-requires.txt): Include a test section in the
test-requires.txt data.
(test-requires.txt-beaker): New variable.
("parse-requires.txt"): Adapt.
("parse-requires.txt - Beaker"): New test.
("parse-wheel-metadata, with extras"): Adapt.
("parse-wheel-metadata, with extras - Jedi"): Adapt.
("pypi->guix-package, no wheel"): Re-indent, and add the expected
native-inputs.
("pypi->guix-package, wheels"): Likewise.
2019-07-02 10:08:00 +09:00
..
accounts.scm
base16.scm
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
channels.scm
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm guix: import: crate: fix redundant inputs list nesting 2019-06-30 09:01:27 -07:00
cve-sample.xml
cve.scm
debug-link.scm
derivations.scm derivations: 'build-derivations' can be passed derivation inputs. 2019-06-27 11:14:41 +02:00
discovery.scm
elpa.scm
file-systems.scm
gem.scm
gexp.scm
glob.scm
gnu-maintenance.scm
grafts.scm derivations: Add 'derivation-input'. 2019-06-27 11:14:41 +02:00
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh
guix-build.sh
guix-daemon.sh tests: Avoid TCP port collision between lint.scm and guix-daemon.sh. 2019-06-27 11:14:42 +02:00
guix-describe.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh
guix-package-aliases.sh
guix-package-net.sh
guix-package.sh
guix-system.sh
hackage.scm import: hackage: Add two expected failing test cases. 2019-06-20 14:07:01 +02:00
import-utils.scm
inferior.scm
lint.scm
lzlib.scm
modules.scm
monads.scm
nar.scm
opam.scm
pack.scm
packages.scm packages: 'specification->package+output' distinguishes "no output specified". 2019-06-27 11:14:41 +02:00
pki.scm
print.scm import: print: Honor the outputs of inputs (!). 2019-06-07 22:49:47 +02:00
processes.scm
profiles.scm
publish.scm publish: '--compression' can be repeated. 2019-06-02 22:01:57 +02:00
pypi.scm import: pypi: Include optional test inputs as native-inputs. 2019-07-02 10:08:00 +09:00
records.scm
scripts-build.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
status.scm
store-database.scm
store-deduplication.scm
store-roots.scm
store.scm store: 'build-things' accepts derivation/output pairs. 2019-06-10 22:42:59 +02:00
substitute.scm substitute: Select the best compression methods. 2019-06-02 22:01:57 +02:00
syscalls.scm syscalls: Add 'terminal-rows'. 2019-06-27 11:14:40 +02:00
system.scm
test.drv
texlive.scm
ui.scm ui: 'relevance' considers regexps connected with a logical and. 2019-06-27 11:14:40 +02:00
union.scm
upstream.scm
utils.scm utils: canonical-newline-port: Fix handling of carriage return at buffer end. 2019-06-20 14:07:01 +02:00
uuid.scm
workers.scm
zlib.scm