[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: tests: Adjust opam and pypi tests to simplified inputs.
From: |
guix-commits |
Subject: |
07/08: tests: Adjust opam and pypi tests to simplified inputs. |
Date: |
Thu, 18 Nov 2021 17:01:44 -0500 (EST) |
civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit bcff9d6388dc1cad38fbfb3983f97f52d0533301
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Nov 18 22:56:10 2021 +0100
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.
---
tests/opam.scm | 8 ++------
tests/pypi.scm | 9 ++-------
2 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/tests/opam.scm b/tests/opam.scm
index cf65ded..b5f02f8 100644
--- a/tests/opam.scm
+++ b/tests/opam.scm
@@ -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.")
diff --git a/tests/pypi.scm b/tests/pypi.scm
index debe4ce..1ea5f02 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -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")
- branch core-updates-frozen updated (053ac37 -> 3ad1356), guix-commits, 2021/11/18
- 03/08: gnu: entangle: Build with Meson 0.59., guix-commits, 2021/11/18
- 01/08: gnu: gthumb: Build with Meson 0.59., guix-commits, 2021/11/18
- 02/08: gnu: libdmapsharing: Build against libsoup 2., guix-commits, 2021/11/18
- 04/08: gnu: gnupg@2.2.32: Hide., guix-commits, 2021/11/18
- 05/08: build-system/go: Update cross-compilation support to new interface., guix-commits, 2021/11/18
- 06/08: derivations: Officially deprecate 'build-expression->derivation'., guix-commits, 2021/11/18
- 07/08: tests: Adjust opam and pypi tests to simplified inputs.,
guix-commits <=
- 08/08: shell: Adjust test to expect C_INCLUDE_PATH, not CPATH., guix-commits, 2021/11/18