[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/97: gnu: python-statsmodels: Fix build
From: |
Hartmut Goebel |
Subject: |
60/97: gnu: python-statsmodels: Fix build |
Date: |
Tue, 18 Oct 2016 20:13:20 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 36e115b6734fe201cbf68723dcd351292f7ea793
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..fd5e569 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 outputs inputs #:allow-other-keys)
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath outputs inputs)
+ (with-directory-excursion "/tmp"
+ (zero? (system* "nosetests"
+ "--stop"
+ "-v" "statsmodels"))))))))
(propagated-inputs
`(("python-numpy" ,python-numpy)
("python-scipy" ,python-scipy)
- 76/97: zope.interface: Correct inputs., (continued)
- 76/97: zope.interface: Correct inputs., Hartmut Goebel, 2016/10/18
- 79/97: zope.security: Correct inputs., Hartmut Goebel, 2016/10/18
- 85/97: python-celery: Remove needless inputs., Hartmut Goebel, 2016/10/18
- 57/97: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/18
- 63/97: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/10/18
- 72/97: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/10/18
- 55/97: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/18
- 61/97: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/10/18
- 51/97: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/18
- 37/97: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/18
- 60/97: gnu: python-statsmodels: Fix build,
Hartmut Goebel <=
- 62/97: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/10/18
- 15/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/18
- 66/97: gnu: python-feedgenerator: Remove python byte-code files from source., Hartmut Goebel, 2016/10/18
- 68/97: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/18
- 70/97: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/10/18
- 59/97: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/18
- 22/97: gnu: Fix inputs in python.scm, part 1: inputs -> propagated-inputs., Hartmut Goebel, 2016/10/18
- 82/97: python-urllib3: update comment, Hartmut Goebel, 2016/10/18
- 87/97: python-sphinxcontrib-programoutput: Remove needless input, already propagated., Hartmut Goebel, 2016/10/18
- 95/97: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/18