[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/103: gnu: python-feedgenerator: Remove python byte-code files from so
From: |
Hartmut Goebel |
Subject: |
64/103: gnu: python-feedgenerator: Remove python byte-code files from source. |
Date: |
Tue, 25 Oct 2016 17:44:43 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 49f964fed114f658d9a33bf895a468fc80f053ec
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 | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4fe7b8f..ed11ce8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2704,7 +2704,15 @@ sources.")
(uri (pypi-uri "feedgenerator" version))
(sha256
(base32
- "0mkimp1fpdan4p3882vzcws4l594k71ich4g0wq97jbra7p602n0"))))
+ "0mkimp1fpdan4p3882vzcws4l594k71ich4g0wq97jbra7p602n0"))
+ (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)
(propagated-inputs
`(("python-pytz" ,python-pytz)
- 63/103: gnu: python-joblib: Add comment., (continued)
- 63/103: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/10/25
- 47/103: gnu: python-ipython: Fix build., Hartmut Goebel, 2016/10/25
- 52/103: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/25
- 45/103: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/25
- 46/103: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/25
- 54/103: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/25
- 50/103: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/25
- 44/103: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/25
- 59/103: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/10/25
- 60/103: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/10/25
- 64/103: gnu: python-feedgenerator: Remove python byte-code files from source.,
Hartmut Goebel <=
- 36/103: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/25
- 61/103: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/10/25
- 65/103: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/10/25
- 66/103: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/25
- 73/103: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/10/25
- 70/103: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/10/25
- 75/103: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/10/25
- 76/103: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/10/25
- 77/103: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/10/25
- 78/103: gnu: python-wsgi-intercept: Correct inputs., Hartmut Goebel, 2016/10/25