[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/97: gnu: python-joblib: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
64/97: gnu: python-joblib: Remove python byte-code files 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 f39a50a70a909e97ea2922360771b9281a343998
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 | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index bb65c69..3d4e341 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2583,7 +2583,14 @@ logic-free templating system Mustache.")
"j/joblib/joblib-" version ".tar.gz"))
(sha256
(base32
- "1dvw3f8jgj6h0fxkghbgyclvdzc7l0ig7n0vis70awb5kczb9bs3"))))
+ "1dvw3f8jgj6h0fxkghbgyclvdzc7l0ig7n0vis70awb5kczb9bs3"))
+ (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)
(native-inputs
`(("python-nose" ,python-nose)))
- 68/97: gnu: python-scikit-image: Correct inputs., (continued)
- 68/97: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/18
- 70/97: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/10/18
- 59/97: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/18
- 22/97: gnu: Fix inputs in python.scm, part 1: inputs -> propagated-inputs., Hartmut Goebel, 2016/10/18
- 82/97: python-urllib3: update comment, Hartmut Goebel, 2016/10/18
- 87/97: python-sphinxcontrib-programoutput: Remove needless input, already propagated., Hartmut Goebel, 2016/10/18
- 95/97: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/18
- 90/97: python-prompt-toolkit: Correct inputs, Hartmut Goebel, 2016/10/18
- 89/97: python-pika: Correct input, Hartmut Goebel, 2016/10/18
- 93/97: python-dateutil, python-dateutil-2: Update home-page url., Hartmut Goebel, 2016/10/18
- 64/97: gnu: python-joblib: Remove python byte-code files from source.,
Hartmut Goebel <=
- 80/97: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/10/18
- 91/97: python-consul correct inputs, Hartmut Goebel, 2016/10/18
- 84/97: Remove some outdated comments., Hartmut Goebel, 2016/10/18
- 92/97: python-freezegun: Correct input., Hartmut Goebel, 2016/10/18
- 71/97: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/10/18
- 78/97: python-configobj: Correct inputs., Hartmut Goebel, 2016/10/18
- 74/97: python-pathpy: Build documentation. REWORD UNFINISHED, Hartmut Goebel, 2016/10/18
- 83/97: python-tox: Update FIXME comments., Hartmut Goebel, 2016/10/18
- 96/97: gnu: python-testlib: Remove useless self-defined phase "unpack"., Hartmut Goebel, 2016/10/18
- 97/97: TODO: Remove .pyc, Hartmut Goebel, 2016/10/18