[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/103: gnu: python-joblib: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
62/103: gnu: python-joblib: Remove python byte-code files from source. |
Date: |
Tue, 25 Oct 2016 17:47:54 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 8c92ff8e360d8c26c4c7ef12d835f1fe6925b452
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 a1688ef..125d264 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2569,7 +2569,15 @@ logic-free templating system Mustache.")
"j/joblib/joblib-" version ".tar.gz"))
(sha256
(base32
- "1dvw3f8jgj6h0fxkghbgyclvdzc7l0ig7n0vis70awb5kczb9bs3"))))
+ "1dvw3f8jgj6h0fxkghbgyclvdzc7l0ig7n0vis70awb5kczb9bs3"))
+ (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)
(native-inputs
`(("python-nose" ,python-nose)))
- 61/103: gnu: python-oauthlib, python-oauthlib2: Correct inputs., (continued)
- 61/103: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/10/25
- 70/103: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/10/25
- 72/103: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/10/25
- 73/103: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/10/25
- 78/103: gnu: python-wsgi-intercept: Correct inputs., Hartmut Goebel, 2016/10/25
- 56/103: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/25
- 64/103: gnu: python-feedgenerator: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 52/103: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/25
- 55/103: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/25
- 60/103: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/10/25
- 62/103: gnu: python-joblib: Remove python byte-code files from source.,
Hartmut Goebel <=
- 19/103: gnu: Fix python inputs, part 1: all inputs become propagated-inputs., Hartmut Goebel, 2016/10/25
- 74/103: gnu: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/25
- 82/103: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/10/25
- 89/103: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/10/25
- 94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/10/25
- 95/103: gnu: python2-pbcore: Fix inputs:, Hartmut Goebel, 2016/10/25
- 45/103: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/25
- 57/103: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 65/103: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/10/25
- 79/103: gnu: python-urllib3: update comment., Hartmut Goebel, 2016/10/25