[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/43: gnu: python-joblib: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
05/43: gnu: python-joblib: Remove python byte-code files from source. |
Date: |
Tue, 18 Oct 2016 11:20:06 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 8993087186a0c9e02707b2bb2c3128c088ba7462
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 5bc80aa..ff2be51 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2582,7 +2582,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)))
- 10/43: gnu: python-scikit-image: Correct inputs., (continued)
- 10/43: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/18
- 11/43: gnu: python2-scikit-image: Remove needless inputs. 1 REWORD, Hartmut Goebel, 2016/10/18
- 17/43: Add TODO comment, Hartmut Goebel, 2016/10/18
- 03/43: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/10/18
- 27/43: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/10/18
- 13/43: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/10/18
- 19/43: FIXUP: remove inherit + property, Hartmut Goebel, 2016/10/18
- 15/43: python-pathpy: Build documentation. REWORD UNFINISHED, Hartmut Goebel, 2016/10/18
- 23/43: zope.interface: Correct inputs., Hartmut Goebel, 2016/10/18
- 18/43: Add TODO comment, Hartmut Goebel, 2016/10/18
- 05/43: gnu: python-joblib: Remove python byte-code files from source.,
Hartmut Goebel <=
- 24/43: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/18
- 26/43: zope.security: Correct inputs., Hartmut Goebel, 2016/10/18
- 34/43: python-sphinx-repoze-autointerface: Remove needless input, already propagated., Hartmut Goebel, 2016/10/18
- 32/43: Remove some outdated comments., Hartmut Goebel, 2016/10/18
- 33/43: python-celery: Remove needless inputs., Hartmut Goebel, 2016/10/18
- 41/43: python-dateutil, python-dateutil-2: Update home-page url., Hartmut Goebel, 2016/10/18
- 31/43: python-tox: Update FIXME comments., Hartmut Goebel, 2016/10/18
- 40/43: python-freezegun: Correct input., Hartmut Goebel, 2016/10/18
- 20/43: CLEAN, LATER: Remove useless self-defined phase., Hartmut Goebel, 2016/10/18
- 35/43: python-sphinxcontrib-programoutput: Remove needless input, already propagated., Hartmut Goebel, 2016/10/18