[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 17:47:53 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit bdc5ee30ebb1e2c3f03e502030f20e463f910f2f
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)
- 46/103: gnu: python-scipy: Fix build., (continued)
- 46/103: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/25
- 20/103: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 18/103: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/25
- 35/103: gnu: python-testrepositoryfixture: Correct inputs., 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
- 49/103: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/25
- 51/103: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/25
- 44/103: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/25
- 41/103: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/25
- 58/103: gnu: python-statsmodels: Fix build,
Hartmut Goebel <=
- 59/103: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/10/25
- 63/103: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/10/25
- 50/103: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/25
- 61/103: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/10/25
- 70/103: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/10/25
- 72/103: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/10/25
- 73/103: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/10/25
- 78/103: gnu: python-wsgi-intercept: Correct inputs., Hartmut Goebel, 2016/10/25
- 56/103: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/25
- 64/103: gnu: python-feedgenerator: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25