guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 04/14] gnu: python-setuptools: remove pre-built binaries.


From: Hartmut Goebel
Subject: [PATCH 04/14] gnu: python-setuptools: remove pre-built binaries.
Date: Wed, 28 Sep 2016 15:58:17 +0200

These are for Windows anyway.

* gnu/packages/python.scm (python-setuptools): Add source snippet to
  delete *.exe files.
---
 gnu/packages/python.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b13e41f..d72bb70 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -816,7 +816,12 @@ have been used.")
                           version ".tar.gz"))
       (sha256
        (base32
-        "0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))))
+        "0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))
+      (modules '((guix build utils)))
+      (snippet
+       '(begin
+          (for-each delete-file (find-files "setuptools" 
"^(cli|gui).*\\.exe$"))
+          #t))))
     (build-system python-build-system)
     ;; FIXME: Tests require pytest, which itself relies on setuptools.
     ;; One could bootstrap with an internal untested setuptools.
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]