[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: |
Thu, 13 Oct 2016 15:20:36 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit fd1660196a160dd62b009ac98b98526f700d37a4
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 54fc1b8..746c8c4 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.
- 33/57: gnu: python-fixture: Enable tests., (continued)
- 33/57: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/13
- 32/57: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/13
- 36/57: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/13
- 39/57: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/13
- 29/57: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/13
- 38/57: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/13
- 28/57: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/13
- 51/57: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/13
- 16/57: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/13
- 56/57: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/13
- 54/57: gnu: python-setuptools: remove pre-built binaries from source.,
Hartmut Goebel <=
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/13
- 09/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/13
- 14/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/13
- 25/57: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/13
- 47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/13
- 10/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/13
- 12/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/13
- 23/57: inputs -> propagated-inputs: special, Hartmut Goebel, 2016/10/13
- 24/57: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/13
- 26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …, Hartmut Goebel, 2016/10/13