[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/103: gnu: python-pytest-flakes: Fix build.
From: |
Hartmut Goebel |
Subject: |
39/103: gnu: python-pytest-flakes: Fix build. |
Date: |
Tue, 25 Oct 2016 17:44:41 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit c1a1031292b87396123a455b0253571878db4f04
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 cdc56b1..aef7dfb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10188,7 +10188,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 inputs outputs)
(zero? (system* "py.test" "-vv")))))))
(native-inputs
`(("python-coverage" ,python-coverage)
- 09/103: guix: Add lint-checker for packages which should be no inputs at all., (continued)
- 09/103: guix: Add lint-checker for packages which should be no inputs at all., Hartmut Goebel, 2016/10/25
- 26/103: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/10/25
- 27/103: gnu: python-pytest-cov: Use upstream options for testing., Hartmut Goebel, 2016/10/25
- 20/103: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 14/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/25
- 28/103: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/25
- 18/103: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/25
- 29/103: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/25
- 31/103: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/25
- 35/103: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 39/103: gnu: python-pytest-flakes: Fix build.,
Hartmut Goebel <=
- 38/103: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/25
- 40/103: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/25
- 23/103: gnu: Fix python inputs, part 5: some inputs become propagated-inputs, Hartmut Goebel, 2016/10/25
- 42/103: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/25
- 33/103: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 25/103: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/25
- 30/103: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/25
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 34/103: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/25
- 37/103: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/25