[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
58/103: gnu: python-statsmodels: Fix build
From: |
Hartmut Goebel |
Subject: |
58/103: gnu: python-statsmodels: Fix build |
Date: |
Tue, 25 Oct 2016 18:00:39 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit d8f030f9e5f692ba6de694fd18c741acf0205a4a
Author: Hartmut Goebel <address@hidden>
Date: Sun Oct 16 18:40:58 2016 +0200
gnu: python-statsmodels: Fix build
* gnu/packages/statistics.scm (python-statsmodels): [check] set
PYTHONPATH prior to running tests.
---
gnu/packages/statistics.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 711630e..b210d47 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1432,11 +1432,13 @@ building design matrices.")
line)))
#t))
(add-after 'install 'check
- (lambda _
- (with-directory-excursion "/tmp"
- (zero? (system* "nosetests"
- "--stop"
- "-v" "statsmodels"))))))))
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath inputs outputs)
+ (with-directory-excursion "/tmp"
+ (zero? (system* "nosetests"
+ "--stop"
+ "-v" "statsmodels"))))))))
(propagated-inputs
`(("python-numpy" ,python-numpy)
("python-scipy" ,python-scipy)
- 35/103: gnu: python-testrepositoryfixture: Correct inputs., (continued)
- 35/103: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 59/103: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/10/25
- 28/103: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/25
- 52/103: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/25
- 34/103: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/25
- 41/103: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/25
- 37/103: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/25
- 42/103: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/25
- 53/103: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/25
- 54/103: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/25
- 58/103: gnu: python-statsmodels: Fix build,
Hartmut Goebel <=
- 15/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/25
- 70/103: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/10/25
- 67/103: gnu: python2-scikit-image: Remove needless propagated-input., Hartmut Goebel, 2016/10/25
- 60/103: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/10/25
- 72/103: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/10/25
- 76/103: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/10/25
- 48/103: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/25
- 36/103: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/25
- 73/103: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/10/25
- 55/103: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/25