[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
98/103: gnu: python-flake8-2.2.4: Remove python byte-code files from sou
From: |
Hartmut Goebel |
Subject: |
98/103: gnu: python-flake8-2.2.4: 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 06254784ef95f848fd7ef136c10d224f64b6053e
Author: Hartmut Goebel <address@hidden>
Date: Tue Oct 25 17:37:24 2016 +0200
gnu: python-flake8-2.2.4: Remove python byte-code files from source.
* gnu/packages/python.scm (python-flake8-2.2.4)[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 99b6f36..a9a46f7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5242,7 +5242,15 @@ complexity of Python source code.")
(uri (pypi-uri "flake8" version))
(sha256
(base32
- "1r9wsry4va45h1rck5hxd3vzsg2q3y6lnl6pym1bxvz8ry19jwx8"))))))
+ "1r9wsry4va45h1rck5hxd3vzsg2q3y6lnl6pym1bxvz8ry19jwx8"))
+ (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))))))
(define-public python2-flake8-2.2.4
(package-with-python2 python-flake8-2.2.4))
- 103/103: Add a FIXME comment, (continued)
- 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
- 85/103: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/10/25
- 98/103: gnu: python-flake8-2.2.4: Remove python byte-code files from source.,
Hartmut Goebel <=
- 94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/10/25
- 102/103: Add TODO comments., Hartmut Goebel, 2016/10/25
- 16/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/25
- 100/103: gnu: python-scikit-learn: Remove useless property "python2-variant"., Hartmut Goebel, 2016/10/25
- 13/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/10/25
- 80/103: gnu: python-tox: Update FIXME comments., Hartmut Goebel, 2016/10/25