[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/97: gnu: python-pytest-flakes: Fix build.
From: |
Hartmut Goebel |
Subject: |
40/97: gnu: python-pytest-flakes: Fix build. |
Date: |
Tue, 18 Oct 2016 20:13:18 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit d562d157c9d2aba30f84d8012cb5b1cd337cc53d
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 d17b66e..e8e2e50 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10155,7 +10155,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)
- 14/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), (continued)
- 14/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/18
- 26/97: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/18
- 32/97: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/18
- 24/97: gnu: Fix inputs in python.scm, part 2: native-inputs -> propagated-inputs., Hartmut Goebel, 2016/10/18
- 18/97: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/18
- 34/97: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/18
- 23/97: gnu: Fix inputs in python.scm, part 2: inputs -> native-inputs., Hartmut Goebel, 2016/10/18
- 28/97: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …, Hartmut Goebel, 2016/10/18
- 33/97: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/18
- 30/97: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/18
- 40/97: gnu: python-pytest-flakes: Fix build.,
Hartmut Goebel <=
- 47/97: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/18
- 12/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/18
- 46/97: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/18
- 31/97: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/18
- 29/97: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/18
- 35/97: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/18
- 36/97: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/18
- 39/97: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/18
- 48/97: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/18
- 41/97: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/18