[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 18:00:44 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit acbfbaf06baf24b798d10dd6f996b03be1ba167e
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 597de7f..066c590 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))
- 55/103: gnu: python-setuptools: remove pre-built binaries from source., (continued)
- 55/103: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/25
- 69/103: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/10/25
- 61/103: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/10/25
- 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 <=
- 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, 2016/10/25
- 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