[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 18:00:40 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 242fde512a53e6d9c7e69892166e9d5c4091a6ac
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 d1313dc..c17a2f7 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)))
- 64/103: gnu: python-feedgenerator: Remove python byte-code files from source., (continued)
- 64/103: gnu: python-feedgenerator: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 38/103: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/25
- 45/103: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/25
- 19/103: gnu: Fix python inputs, part 1: all inputs become propagated-inputs., Hartmut Goebel, 2016/10/25
- 57/103: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 50/103: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/25
- 16/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/25
- 11/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/25
- 63/103: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/10/25
- 68/103: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/10/25
- 62/103: gnu: python-joblib: Remove python byte-code files from source.,
Hartmut Goebel <=
- 13/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/10/25
- 81/103: gnu: Remove some outdated comments., Hartmut Goebel, 2016/10/25
- 85/103: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/10/25
- 88/103: gnu: python-consul: Correct inputs., Hartmut Goebel, 2016/10/25
- 80/103: gnu: python-tox: Update FIXME comments., Hartmut Goebel, 2016/10/25
- 97/103: gnu: python-flake8: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/10/25
- 91/103: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/25
- 89/103: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/10/25
- 99/103: gnu: python-tables: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25