[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
58/104: gnu: python-statsmodels: Fix build
From: |
Hartmut Goebel |
Subject: |
58/104: gnu: python-statsmodels: Fix build |
Date: |
Tue, 15 Nov 2016 21:37:04 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 25b2c47d753efd0761a4e16519dce38d828789f5
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 cca08d2..3461799 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1444,11 +1444,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)
- 36/104: gnu: python-pbr: Rework bootstrapping., (continued)
- 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
- 49/104: gnu: thefuck: Fix build., Hartmut Goebel, 2016/11/15
- 51/104: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/11/15
- 63/104: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/11/15
- 45/104: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/11/15
- 50/104: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/11/15
- 71/104: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/11/15
- 28/104: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/11/15
- 43/104: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/11/15
- 58/104: gnu: python-statsmodels: Fix build,
Hartmut Goebel <=
- 60/104: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/11/15
- 65/104: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/11/15
- 69/104: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/11/15
- 73/104: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/11/15
- 70/104: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/11/15
- 47/104: gnu: python-ipython: Fix build., Hartmut Goebel, 2016/11/15
- 52/104: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/11/15
- 54/104: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/11/15
- 56/104: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/11/15
- 61/104: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/11/15