import: opam: Avoid uses of '@@' in tests.
authorLudovic Courtès <ludo@gnu.org>
Fri, 17 Jan 2020 12:48:23 +0000 (13:48 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 17 Jan 2020 13:22:07 +0000 (14:22 +0100)
commit282f91790a5bbd0d9b3223c4bfd45b66e418c200
treebe85d26a537a459d3cb4339f53f6c7c69087ed00
parent0688ca7471b8c82f802db7ddaed8695f59c751ff
import: opam: Avoid uses of '@@' in tests.

* guix/import/opam.scm (string-pat, multiline-string, list-pat)
(dict, condition): Export.
(opam-fetch): Add optional 'repository' parameter.
(opam->guix-package): Add #:repository parameter and pass it to
'opam-fetch'.
* tests/opam.scm ("opam->guix-package"): Remove use of 'mock' and pass
TEST-REPO to 'opam->guix-package' instead.
("parse-strings", "parse-multiline-strings")
("parse-lists", "parse-dicts", "parse-conditions"): Remove uses of '@@',
which are no longer needed.
guix/import/opam.scm
tests/opam.scm