From 29a2eb36ff85eb75eeb907aa687fbb655b5f1097 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 9 Oct 2020 08:02:28 +0300 Subject: [PATCH] gnu: python-shapely: Remove cythonized files. * gnu/packages/python-xyz.scm (python-shapely)[source]: Add snippet to remove pregenerated cythonized files. --- gnu/packages/python-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 @@ (define-public python-shapely (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)