[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/43: gnu: python-feedgenerator: Remove python byte-code files from sou
From: |
Hartmut Goebel |
Subject: |
07/43: gnu: python-feedgenerator: Remove python byte-code files from source. |
Date: |
Tue, 18 Oct 2016 11:20:07 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit ca8e9e30a55298000ffe276347875a21affc80c8
Author: Hartmut Goebel <address@hidden>
Date: Sun Oct 16 19:34:57 2016 +0200
gnu: python-feedgenerator: Remove python byte-code files from source.
* gnu/packages/python.scm (python-feedgenerator, python2-feedgenerator)
[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 1e72e3e..40cffaa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2716,7 +2716,14 @@ sources.")
(uri (pypi-uri "feedgenerator" version))
(sha256
(base32
- "0mkimp1fpdan4p3882vzcws4l594k71ich4g0wq97jbra7p602n0"))))
+ "0mkimp1fpdan4p3882vzcws4l594k71ich4g0wq97jbra7p602n0"))
+ (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)
(propagated-inputs
`(("python-pytz" ,python-pytz)
- branch wip-python-build-system updated (22dbd7b -> 2c57349), Hartmut Goebel, 2016/10/18
- 02/43: ADD todo-comment., Hartmut Goebel, 2016/10/18
- 01/43: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/10/18
- 07/43: gnu: python-feedgenerator: Remove python byte-code files from source.,
Hartmut Goebel <=
- 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