[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/104: gnu: python-pytest-flakes: Fix build.
From: |
Hartmut Goebel |
Subject: |
39/104: gnu: python-pytest-flakes: Fix build. |
Date: |
Tue, 15 Nov 2016 21:37:02 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 05c2fd3685adc7f4257606e9a7f6d28753047352
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 fb5d2fd..a22be5c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10960,7 +10960,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)
- 27/104: gnu: python-pytest-cov: Use upstream options for testing., (continued)
- 27/104: gnu: python-pytest-cov: Use upstream options for testing., Hartmut Goebel, 2016/11/15
- 21/104: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/11/15
- 33/104: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/11/15
- 26/104: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/11/15
- 30/104: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/11/15
- 25/104: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/11/15
- 32/104: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/11/15
- 24/104: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/11/15
- 16/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/11/15
- 34/104: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/11/15
- 39/104: gnu: python-pytest-flakes: Fix build.,
Hartmut Goebel <=
- 13/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/11/15
- 31/104: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/11/15
- 23/104: gnu: Fix python inputs, part 5: some inputs become propagated-inputs, Hartmut Goebel, 2016/11/15
- 19/104: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/11/15
- 38/104: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/11/15
- 41/104: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/11/15
- 35/104: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/11/15
- 37/104: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/11/15
- 36/104: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/11/15
- 57/104: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15