summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-12-21 15:21:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-12-21 16:22:51 +0200
commit2c067089d786234af65a6ffa8f91274160806ef1 (patch)
tree9e59aa9dd094ab0647462baa99799c1d0723c938 /gnu
parent8e213a15d3b25d23583eb76c383d7f4ec1c86fc4 (diff)
downloadguix-2c067089d786234af65a6ffa8f91274160806ef1.tar.gz
gnu: python-statsmodels: Remove cythonized files from tarball.
* gnu/packages/statistics.scm (python-statsmodels)[source]: Add snippet
to remove cythonized files.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c2578c35a9..fbe5cdbf9f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
@@ -1970,7 +1970,11 @@ building design matrices.")
        (uri (pypi-uri "statsmodels" version))
        (sha256
         (base32
-         "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))))
+         "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (for-each delete-file (find-files "." "\\.c$"))))))
     (build-system python-build-system)
     (arguments
      `(;; The test suite is very large and rather brittle.  Tests often fail