aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-08-04 12:48:25 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-08-04 13:40:13 +0200
commit8b52167e7706bb982bf809036bdc247c709779bb (patch)
tree596844dba317de528fbb91ac7b708373022d4da4 /gnu/packages/statistics.scm
parent6ad08117d9d98c969bee89e5b4c59e0d6bcf5a22 (diff)
downloadguix-8b52167e7706bb982bf809036bdc247c709779bb.tar
guix-8b52167e7706bb982bf809036bdc247c709779bb.tar.gz
gnu: python-statsmodels: Fix tests.
* gnu/packages/statistics.scm (python-statsmodels): Add patch to fix tests. (python2-statsmodels)[propagated-inputs]: Add python2-pytz. * gnu/packages/patches/python-statsmodels-fix-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2365149fad..990f2fc132 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1331,7 +1331,8 @@ building design matrices.")
"s/statsmodels/statsmodels-" version ".tar.gz"))
(sha256
(base32
- "0xn67sqr0cc1lmlhzm71352hrb4hw7g318p5ff5q97pc98vl8kmy"))))
+ "0xn67sqr0cc1lmlhzm71352hrb4hw7g318p5ff5q97pc98vl8kmy"))
+ (patches (search-patches "python-statsmodels-fix-tests.patch"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1375,7 +1376,8 @@ inference for statistical models.")
(let ((stats (package-with-python2 python-statsmodels)))
(package (inherit stats)
(propagated-inputs
- `(("python2-numpy" ,python2-numpy)
+ `(("python2-pytz" ,python2-pytz)
+ ("python2-numpy" ,python2-numpy)
("python2-scipy" ,python2-scipy)
("python2-pandas" ,python2-pandas)
("python2-patsy" ,python2-patsy)