[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/97: gnu: python-feedgenerator: Remove python byte-code files from sou
From: |
Hartmut Goebel |
Subject: |
66/97: gnu: python-feedgenerator: Remove python byte-code files from source. |
Date: |
Tue, 18 Oct 2016 20:13:21 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit dfceba965d86a8819f8c25b504f05e29fd2e3caa
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 429316f..6ad18ce 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2717,7 +2717,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)
- 57/97: gnu: python-testscenarios: remove needless input "mimetools"., (continued)
- 57/97: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/18
- 63/97: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/10/18
- 72/97: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/10/18
- 55/97: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/18
- 61/97: gnu: python-cov-core: Fix imports., Hartmut Goebel, 2016/10/18
- 51/97: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/18
- 37/97: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/18
- 60/97: gnu: python-statsmodels: Fix build, Hartmut Goebel, 2016/10/18
- 62/97: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/10/18
- 15/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/18
- 66/97: gnu: python-feedgenerator: Remove python byte-code files from source.,
Hartmut Goebel <=
- 68/97: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/18
- 70/97: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/10/18
- 59/97: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/18
- 22/97: gnu: Fix inputs in python.scm, part 1: inputs -> propagated-inputs., Hartmut Goebel, 2016/10/18
- 82/97: python-urllib3: update comment, Hartmut Goebel, 2016/10/18
- 87/97: python-sphinxcontrib-programoutput: Remove needless input, already propagated., Hartmut Goebel, 2016/10/18
- 95/97: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/18
- 90/97: python-prompt-toolkit: Correct inputs, Hartmut Goebel, 2016/10/18
- 89/97: python-pika: Correct input, Hartmut Goebel, 2016/10/18
- 93/97: python-dateutil, python-dateutil-2: Update home-page url., Hartmut Goebel, 2016/10/18