[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/57: gnu: python-setuptools: remove pre-built binaries from source.
From: |
Hartmut Goebel |
Subject: |
54/57: gnu: python-setuptools: remove pre-built binaries from source. |
Date: |
Sat, 15 Oct 2016 14:08:16 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit a1db5ebabf584903e560ab5ad50902c71a393f53
Author: Hartmut Goebel <address@hidden>
Date: Wed Sep 28 11:40:26 2016 +0200
gnu: python-setuptools: remove pre-built binaries from source.
These are used to build self-extracting installers for Windows.
* gnu/packages/python.scm (python-setuptools, python2-setuptools) [source]:
Add snippet to delete *.exe files.
---
gnu/packages/python.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a2d67f0..5cc5357 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -798,7 +798,15 @@ have been used.")
version ".tar.gz"))
(sha256
(base32
- "0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))))
+ "0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Remove included binaries which are used to build self-extracting
+ ;; installers for Windows.
+ ;; TODO: Find some way to build them ourself so we can include them.
+ (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.
- 41/57: gnu: python2-pysnptools: Correct inputs., (continued)
- 41/57: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/15
- 46/57: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/15
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/15
- 48/57: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/15
- 35/57: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/15
- 51/57: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/15
- 52/57: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/15
- 55/57: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/15
- 56/57: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/15
- 53/57: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/15
- 54/57: gnu: python-setuptools: remove pre-built binaries from source.,
Hartmut Goebel <=
- 09/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/15