~ruther/guix-local

bcff9d6388dc1cad38fbfb3983f97f52d0533301 — Ludovic Courtès 4 years ago 7d043ab
tests: Adjust opam and pypi tests to simplified inputs.

* tests/opam.scm ("opam->guix-package"): Expect simplified inputs.
* tests/pypi.scm ("pypi->guix-package, package name contains \"-\" followed by digits"):
Likewise.
2 files changed, 4 insertions(+), 13 deletions(-)

M tests/opam.scm
M tests/pypi.scm
M tests/opam.scm => tests/opam.scm +2 -6
@@ 102,13 102,9 @@ url {
                               ('base32
                                (? string? hash)))))
                   ('build-system 'ocaml-build-system)
                   ('propagated-inputs
                    ('quasiquote
                     (("ocaml-zarith" ('unquote 'ocaml-zarith)))))
                   ('propagated-inputs ('list 'ocaml-zarith))
                   ('native-inputs
                    ('quasiquote
                     (("ocaml-alcotest" ('unquote 'ocaml-alcotest))
                      ("ocamlbuild" ('unquote 'ocamlbuild)))))
                    ('list 'ocaml-alcotest 'ocamlbuild))
                   ('home-page "https://example.org/")
                   ('synopsis "Some example package")
                   ('description "This package is just an example.")

M tests/pypi.scm => tests/pypi.scm +2 -7
@@ 416,13 416,8 @@ Requires-Dist: pytest (>=3.1.0); extra == 'testing'
                                (? string? hash)))))
                   ('properties ('quote (("upstream-name" . "foo-99"))))
                   ('build-system 'python-build-system)
                   ('propagated-inputs
                    ('quasiquote
                     (("python-bar" ('unquote 'python-bar))
                      ("python-foo" ('unquote 'python-foo)))))
                   ('native-inputs
                    ('quasiquote
                     (("python-pytest" ('unquote 'python-pytest)))))
                   ('propagated-inputs ('list 'python-bar 'python-foo))
                   ('native-inputs ('list 'python-pytest))
                   ('home-page "http://example.com")
                   ('synopsis "summary")
                   ('description "summary")