[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
97/103: gnu: python-flake8: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
97/103: gnu: python-flake8: Remove python byte-code files from source. |
Date: |
Tue, 25 Oct 2016 17:44:47 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 59185ac39fd917f6a619d694cc54cf2354671e1c
Author: Hartmut Goebel <address@hidden>
Date: Tue Oct 25 18:15:29 2016 +0200
gnu: python-flake8: Remove python byte-code files from source.
* gnu/packages/python.scm (python-flake8)[source]: Add snippet.
# Conflicts:
# gnu/packages/python.scm
---
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 e738383..99b6f36 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5197,7 +5197,15 @@ complexity of Python source code.")
(uri (pypi-uri "flake8" version))
(sha256
(base32
- "0bs9cz4fr99r2rwig1b8jwaadl1nan7kgpdzqwj0bwbckwbmh7nc"))))
+ "0bs9cz4fr99r2rwig1b8jwaadl1nan7kgpdzqwj0bwbckwbmh7nc"))
+ (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-pep8" ,python-pep8)
- 78/103: gnu: python-wsgi-intercept: Correct inputs., (continued)
- 78/103: gnu: python-wsgi-intercept: Correct inputs., Hartmut Goebel, 2016/10/25
- 79/103: gnu: python-urllib3: update comment., Hartmut Goebel, 2016/10/25
- 81/103: gnu: Remove some outdated comments., Hartmut Goebel, 2016/10/25
- 87/103: gnu: python-prompt-toolkit: Correct inputs, Hartmut Goebel, 2016/10/25
- 91/103: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/25
- 90/103: gnu: python-nautilus: Correct inputs, Hartmut Goebel, 2016/10/25
- 95/103: gnu: python2-pbcore: Fix inputs:, Hartmut Goebel, 2016/10/25
- 99/103: gnu: python-tables: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 96/103: gnu: python-pytest-django: Remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 93/103: gnu: khal: Fix build., Hartmut Goebel, 2016/10/25
- 97/103: gnu: python-flake8: Remove python byte-code files from source.,
Hartmut Goebel <=
- 11/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/25
- 103/103: Add a FIXME comment, Hartmut Goebel, 2016/10/25
- 101/103: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/25
- 89/103: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/10/25
- 86/103: gnu: python-pika: Correct input., Hartmut Goebel, 2016/10/25
- 19/103: gnu: Fix python inputs, part 1: all inputs become propagated-inputs., Hartmut Goebel, 2016/10/25
- 92/103: gnu: python-testlib: Remove useless self-defined phase "unpack"., Hartmut Goebel, 2016/10/25
- 82/103: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/10/25
- 83/103: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/10/25
- 84/103: gnu: python-sphinxcontrib-programoutput: Remove needless input., Hartmut Goebel, 2016/10/25