[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: python-zope-testing: Strip byte-code and backup-files from s
From: |
Hartmut Goebel |
Subject: |
03/07: gnu: python-zope-testing: Strip byte-code and backup-files from source. |
Date: |
Thu, 13 Oct 2016 15:23:24 +0000 (UTC) |
htgoebel pushed a commit to branch master
in repository guix.
commit b02f7a21d1f143951170236aef3ef1e5e8a464c9
Author: Hartmut Goebel <address@hidden>
Date: Fri Oct 7 21:50:29 2016 +0200
gnu: python-zope-testing: Strip byte-code and backup-files from source.
* gnu/package/python.scm (python-zope-testing,
python2-zope-testing)[source]:
Add snippet to strip byte-code and backup-files.
---
gnu/packages/python.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index eca60bc..ec56c85 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6644,7 +6644,13 @@ that have uses outside of the Zope framework.")
"/zope.testing/zope.testing-" version ".tar.gz"))
(sha256
(base32
- "1yvglxhzvhl45mndvn9gskx2ph30zz1bz7rrlyfs62fv2pvih90s"))))
+ "1yvglxhzvhl45mndvn9gskx2ph30zz1bz7rrlyfs62fv2pvih90s"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Remove pre-compiled .pyc files backup files from source.
+ (for-each delete-file (find-files "." "(\\.pyc|~)$"))
+ #t))))
(build-system python-build-system)
(native-inputs
`(("python-zope-exceptions" ,python-zope-exceptions)))
- branch master updated (c8ed730 -> 635a7af), Hartmut Goebel, 2016/10/13
- 06/07: gnu: python-pathlib: Update description., Hartmut Goebel, 2016/10/13
- 02/07: gnu: python-pytest-xdist: Remove python byte-code files from source., Hartmut Goebel, 2016/10/13
- 05/07: gnu: python-keyring: Update home-page url., Hartmut Goebel, 2016/10/13
- 01/07: gnu: python2-pytest-runner, python2-msgpack: Remove duplicate definitions., Hartmut Goebel, 2016/10/13
- 04/07: gnu: python-pylockfile: Update home-page url., Hartmut Goebel, 2016/10/13
- 03/07: gnu: python-zope-testing: Strip byte-code and backup-files from source.,
Hartmut Goebel <=
- 07/07: guix: python-build-system: Fix an outdated comment., Hartmut Goebel, 2016/10/13