[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/104: gnu: python-feedgenerator: Remove python byte-code files from so
From: |
Hartmut Goebel |
Subject: |
64/104: gnu: python-feedgenerator: Remove python byte-code files from source. |
Date: |
Tue, 15 Nov 2016 21:37:05 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 7c88bcf4bb585050448d275dd0bb72fad660dda6
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 7555711..d05035e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2806,7 +2806,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)
- 68/104: gnu: python2-scikit-image: Remove needless native-input and inheritance., (continued)
- 68/104: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/11/15
- 89/104: gnu: python-nautilus: Correct inputs, Hartmut Goebel, 2016/11/15
- 96/104: gnu: python-flake8: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 99/104: gnu: python-scikit-learn: Remove useless property "python2-variant"., Hartmut Goebel, 2016/11/15
- 100/104: gnu: python-betamax: fix inputs., Hartmut Goebel, 2016/11/15
- 12/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/11/15
- 17/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/11/15
- 46/104: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/11/15
- 53/104: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/11/15
- 44/104: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/11/15
- 64/104: gnu: python-feedgenerator: Remove python byte-code files from source.,
Hartmut Goebel <=
- 67/104: gnu: python2-scikit-image: Remove needless propagated-input., Hartmut Goebel, 2016/11/15
- 75/104: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/11/15
- 76/104: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/11/15
- 55/104: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/11/15
- 72/104: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/11/15
- 77/104: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/11/15
- 83/104: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/11/15
- 81/104: gnu: Remove some outdated comments., Hartmut Goebel, 2016/11/15
- 85/104: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/11/15
- 82/104: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/11/15