[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
99/103: gnu: python-tables: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
99/103: gnu: python-tables: 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 1e2f3e051efae97efcc1b75ed173f3d38df6046e
Author: Hartmut Goebel <address@hidden>
Date: Tue Oct 25 17:37:43 2016 +0200
gnu: python-tables: Remove python byte-code files from source.
* gnu/packages/python.scm (python-tables)[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 066c590..3c0f4d9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5731,7 +5731,15 @@ printing of sub-tables by specifying a row range.")
(uri (pypi-uri "tables" version))
(sha256
(base32
- "117s6w7s3yxafpmf3zz3svana7xfrsviw01va1xp7h8ylx8v6r1m"))))
+ "117s6w7s3yxafpmf3zz3svana7xfrsviw01va1xp7h8ylx8v6r1m"))
+ (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)
(arguments
`(;; FIXME: python-build-system does not pass configure-flags to "build"
- 62/103: gnu: python-joblib: Remove python byte-code files from source., (continued)
- 62/103: gnu: python-joblib: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 13/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/10/25
- 81/103: gnu: Remove some outdated comments., Hartmut Goebel, 2016/10/25
- 85/103: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/10/25
- 88/103: gnu: python-consul: Correct inputs., Hartmut Goebel, 2016/10/25
- 80/103: gnu: python-tox: Update FIXME comments., Hartmut Goebel, 2016/10/25
- 97/103: gnu: python-flake8: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/10/25
- 91/103: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/25
- 89/103: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/10/25
- 99/103: gnu: python-tables: Remove python byte-code files from source.,
Hartmut Goebel <=
- 93/103: gnu: khal: Fix build., Hartmut Goebel, 2016/10/25
- 102/103: Add TODO comments., Hartmut Goebel, 2016/10/25
- 83/103: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/10/25
- 71/103: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/10/25
- 33/103: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 84/103: gnu: python-sphinxcontrib-programoutput: Remove needless input., Hartmut Goebel, 2016/10/25
- 66/103: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/25
- 92/103: gnu: python-testlib: Remove useless self-defined phase "unpack"., Hartmut Goebel, 2016/10/25
- 90/103: gnu: python-nautilus: Correct inputs, Hartmut Goebel, 2016/10/25
- 79/103: gnu: python-urllib3: update comment., Hartmut Goebel, 2016/10/25