[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 18:00:40 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit cabc0daed58cf566c28e5ba48bab74a59d39eff9
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 ea48d81..bc78c81 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)
- 65/103: gnu: python-blinker: No longer disable tests., (continued)
- 65/103: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/10/25
- 44/103: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/25
- 51/103: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/25
- 75/103: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/10/25
- 77/103: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/10/25
- 82/103: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/10/25
- 56/103: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/25
- 98/103: gnu: python-flake8-2.2.4: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 103/103: Add a FIXME comment, Hartmut Goebel, 2016/10/25
- 74/103: gnu: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/25
- 64/103: gnu: python-feedgenerator: Remove python byte-code files from source.,
Hartmut Goebel <=
- 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, 2016/10/25