[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: tryton: Use local 'inputs' instead of global '%build-inputs'
From: |
guix-commits |
Subject: |
09/10: gnu: tryton: Use local 'inputs' instead of global '%build-inputs'. |
Date: |
Fri, 28 May 2021 05:37:03 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 0ab7796f4d8989619c8091a5e3c36507161b6743
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Mon May 24 22:17:09 2021 +0200
gnu: tryton: Use local 'inputs' instead of global '%build-inputs'.
The former is preferred above the latter.
* gnu/packages/tryton.scm (tryton-phases): Look up "trytond" in the
'inputs' argument instead of in '%build-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/tryton.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 800e19d..107d5b4 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -150,13 +150,13 @@ and security.")
If present, pass EXTRA-ARGUMENTS to runtest as well."
`(modify-phases %standard-phases
(replace 'check
- (let ((runtest
- (string-append
- (assoc-ref %build-inputs "trytond")
- "/lib/python"
- ,(version-major+minor (package-version python))
- "/site-packages/trytond/tests/run-tests.py")))
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((runtest
+ (string-append
+ (assoc-ref inputs "trytond")
+ "/lib/python"
+ ,(version-major+minor (package-version python))
+ "/site-packages/trytond/tests/run-tests.py")))
(add-installed-pythonpath inputs outputs)
(invoke "python" runtest "-m" ,module ,@extra-arguments))))))
- branch master updated (90e1f9c -> 416f784), guix-commits, 2021/05/28
- 01/10: gnu: intel-mpi-benchmarks: Remove top-level reference to 'openmpi'., guix-commits, 2021/05/28
- 02/10: deploy: Error out when the FILE argument is missing., guix-commits, 2021/05/28
- 03/10: scripts: Commands warn when passed zero arguments., guix-commits, 2021/05/28
- 04/10: git-download: 'git-predicate' now ignores deleted files., guix-commits, 2021/05/28
- 05/10: git-download: Support submodules in 'git-predicate'., guix-commits, 2021/05/28
- 06/10: gnu: libraft: Update to 0.10.1, guix-commits, 2021/05/28
- 07/10: import: opam: Generate license for package., guix-commits, 2021/05/28
- 08/10: gnu: tryton: Factor out custom ‘check’ phase., guix-commits, 2021/05/28
- 09/10: gnu: tryton: Use local 'inputs' instead of global '%build-inputs'.,
guix-commits <=
- 10/10: gnu: tryton: Allow disabling the test suite., guix-commits, 2021/05/28