summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-09 08:02:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-09 08:02:28 +0300
commit29a2eb36ff85eb75eeb907aa687fbb655b5f1097 (patch)
treec2ecf3f1daf0d7e9ec16e74163f3c837d5614fe4
parent5fe5548907337fee70a3a961e6df9a586f5f52e5 (diff)
downloadguix-29a2eb36ff85eb75eeb907aa687fbb655b5f1097.tar.gz
gnu: python-shapely: Remove cythonized files.
* gnu/packages/python-xyz.scm (python-shapely)[source]: Add snippet to
remove pregenerated cythonized files.
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a95bb8ce12..0670eb7e08 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -515,7 +515,13 @@ pidof, tty, taskset, pmap.")
        (uri (pypi-uri "Shapely" version))
        (sha256
         (base32
-         "0adiz4jwmwxk7k1awqifb1a9bj5x4nx4gglb5dz9liam21674h8n"))))
+         "0adiz4jwmwxk7k1awqifb1a9bj5x4nx4gglb5dz9liam21674h8n"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (delete-file "shapely/speedups/_speedups.c")
+           (delete-file "shapely/vectorized/_vectorized.c")
+           #t))))
     (build-system python-build-system)
     (native-inputs
      `(("python-cython" ,python-cython)