[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/103: gnu: python-setuptools: remove pre-built binaries from source.
From: |
Hartmut Goebel |
Subject: |
55/103: gnu: python-setuptools: remove pre-built binaries from source. |
Date: |
Tue, 25 Oct 2016 17:44:42 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 2c7c323c102e54ab7f9da8f00ad60951cc3e0cb7
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 312121a..fdd6e4f 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.
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., (continued)
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 34/103: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/25
- 37/103: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/25
- 41/103: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/25
- 43/103: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/25
- 15/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/25
- 48/103: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/25
- 53/103: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/25
- 68/103: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/10/25
- 69/103: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/10/25
- 55/103: gnu: python-setuptools: remove pre-built binaries from source.,
Hartmut Goebel <=
- 57/103: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 74/103: gnu: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/25
- 32/103: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/25
- 12/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/25
- 49/103: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/25
- 51/103: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/25
- 58/103: gnu: python-statsmodels: Fix build, Hartmut Goebel, 2016/10/25
- 71/103: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/10/25
- 72/103: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/10/25
- 88/103: gnu: python-consul: Correct inputs., Hartmut Goebel, 2016/10/25