[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/57: gnu: python-pytest-flakes: Fix build.
From: |
Hartmut Goebel |
Subject: |
38/57: gnu: python-pytest-flakes: Fix build. |
Date: |
Thu, 13 Oct 2016 15:20:34 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit a0df989e8ba04f271e5a469f6ef6c5194d25e9fd
Author: Hartmut Goebel <address@hidden>
Date: Fri Oct 7 21:48:36 2016 +0200
gnu: python-pytest-flakes: Fix build.
* python.scm (python-pytest-flakes): Set PYTHONPATH prior to running tests.
---
gnu/packages/python.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f2e2a5b..c430026 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10119,7 +10119,10 @@ failures.")
(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
- (lambda _ ; It's easier to run tests after install.
+ (lambda* (#:key outputs inputs #:allow-other-keys)
+ ;; It's easier to run tests after install.
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath outputs inputs)
(zero? (system* "py.test" "-vv")))))))
(native-inputs
`(("python-coverage" ,python-coverage)
- 30/57: gnu: python-h5py: Remove needless "python2-variant" property., (continued)
- 30/57: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/13
- 34/57: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/13
- 07/57: guix: Add lint-checker for packages which should be no inputs at all., Hartmut Goebel, 2016/10/13
- 21/57: gnu: Fix inputs in python.scm, part 2: inputs -> native-inputs., Hartmut Goebel, 2016/10/13
- 02/57: guix: build all Python packages with --single-version-externally-managed., Hartmut Goebel, 2016/10/13
- 33/57: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/13
- 32/57: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/13
- 36/57: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/13
- 39/57: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/13
- 29/57: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/13
- 38/57: gnu: python-pytest-flakes: Fix build.,
Hartmut Goebel <=
- 28/57: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/13
- 51/57: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/13
- 16/57: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/13
- 56/57: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/13
- 54/57: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/13
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/13
- 09/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/13
- 14/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/13
- 25/57: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/13
- 47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/13