[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/97: gnu: python-setuptools: remove pre-built binaries from source.
From: |
Hartmut Goebel |
Subject: |
56/97: gnu: python-setuptools: remove pre-built binaries from source. |
Date: |
Tue, 18 Oct 2016 20:13:20 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit e0dbbf58ab6b76531a593c11fdd918ed4d728686
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 dbe5016..a1a49d8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -799,7 +799,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.
- 31/97: gnu: python-ccm: Update synopsis and description., (continued)
- 31/97: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/18
- 29/97: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/18
- 35/97: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/18
- 36/97: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/18
- 39/97: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/18
- 48/97: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/18
- 41/97: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/18
- 49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/18
- 27/97: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/18
- 52/97: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/18
- 56/97: gnu: python-setuptools: remove pre-built binaries from source.,
Hartmut Goebel <=
- 53/97: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/18
- 38/97: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/18
- 42/97: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/18
- 44/97: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/18
- 43/97: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/18
- 50/97: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/18
- 45/97: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/18
- 54/97: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/18
- 58/97: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/18
- 67/97: python-blinker: No longer disable tests., Hartmut Goebel, 2016/10/18