mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
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.
This commit is contained in:
parent
de585a7e64
commit
b02f7a21d1
1 changed files with 7 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue