[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/104: gnu: python-joblib: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
62/104: gnu: python-joblib: Remove python byte-code files from source. |
Date: |
Tue, 15 Nov 2016 21:37:05 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 6aa5f1ca240b6daf4dbc5c3031fdd697119a49ea
Author: Hartmut Goebel <address@hidden>
Date: Sun Oct 16 19:32:06 2016 +0200
gnu: python-joblib: Remove python byte-code files from source.
* gnu/packages/python.scm (python-joblib, python2-joblib)[source]:
Add snippet.
---
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 117e845..8190a3b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2649,7 +2649,15 @@ logic-free templating system Mustache.")
(uri (pypi-uri "joblib" version))
(sha256
(base32
- "0787k919zlfmgymprz5bzv0v1df5bbirlf3awrghmjgvkrd9dci9"))))
+ "0787k919zlfmgymprz5bzv0v1df5bbirlf3awrghmjgvkrd9dci9"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Remove pre-compiled .pyc files from source.
+ (for-each delete-file-recursively
+ (find-files "." "__pycache__" #:directories? #t))
+ (for-each delete-file (find-files "." "\\.pyc$"))
+ #t))))
(build-system python-build-system)
(arguments
`(#:phases
- 56/104: gnu: python-testscenarios: remove needless input "mimetools"., (continued)
- 56/104: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/11/15
- 61/104: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/11/15
- 84/104: gnu: python-sphinxcontrib-programoutput: Remove needless input., Hartmut Goebel, 2016/11/15
- 80/104: gnu: python-tox: Update FIXME comments., Hartmut Goebel, 2016/11/15
- 91/104: gnu: python-testlib: Remove useless self-defined phase "unpack"., Hartmut Goebel, 2016/11/15
- 103/104: gnu: python-botocore: fix inputs., Hartmut Goebel, 2016/11/15
- 42/104: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/11/15
- 40/104: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/11/15
- 48/104: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/11/15
- 59/104: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/11/15
- 62/104: gnu: python-joblib: Remove python byte-code files from source.,
Hartmut Goebel <=
- 20/104: gnu: Fix python inputs, part 1: all inputs become propagated-inputs., Hartmut Goebel, 2016/11/15
- 78/104: gnu: python-wsgi-intercept: Correct inputs., Hartmut Goebel, 2016/11/15
- 74/104: gnu: python-zope-location: Correct inputs., Hartmut Goebel, 2016/11/15
- 79/104: gnu: python-urllib3: update comment., Hartmut Goebel, 2016/11/15
- 66/104: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/11/15
- 86/104: gnu: python-prompt-toolkit: Correct inputs, Hartmut Goebel, 2016/11/15
- 87/104: gnu: python-consul: Correct inputs., Hartmut Goebel, 2016/11/15
- 68/104: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/11/15
- 89/104: gnu: python-nautilus: Correct inputs, Hartmut Goebel, 2016/11/15
- 96/104: gnu: python-flake8: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15