[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/104: gnu: python-setuptools: remove pre-built binaries from source.
From: |
Hartmut Goebel |
Subject: |
55/104: gnu: python-setuptools: remove pre-built binaries from source. |
Date: |
Tue, 15 Nov 2016 21:37:04 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit e0ed457944d1166d8d2bb53dab6e724989d1576c
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 e091cef..1ecfb6c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -825,7 +825,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.
- 100/104: gnu: python-betamax: fix inputs., (continued)
- 100/104: gnu: python-betamax: fix inputs., Hartmut Goebel, 2016/11/15
- 12/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/11/15
- 17/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/11/15
- 46/104: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/11/15
- 53/104: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/11/15
- 44/104: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/11/15
- 64/104: gnu: python-feedgenerator: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 67/104: gnu: python2-scikit-image: Remove needless propagated-input., Hartmut Goebel, 2016/11/15
- 75/104: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/11/15
- 76/104: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/11/15
- 55/104: gnu: python-setuptools: remove pre-built binaries from source.,
Hartmut Goebel <=
- 72/104: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/11/15
- 77/104: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/11/15
- 83/104: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/11/15
- 81/104: gnu: Remove some outdated comments., Hartmut Goebel, 2016/11/15
- 85/104: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/11/15
- 82/104: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/11/15
- 88/104: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/11/15
- 92/104: gnu: khal: Fix build., Hartmut Goebel, 2016/11/15
- 95/104: gnu: python-pytest-django: Remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15
- 93/104: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/11/15