gnu: python-pyodbc: Remove precompiled .pyc files from source.
* gnu/packages/databases.scm (python-pyodbc)[source]: Add a snippet. Remove no-op file-name.
This commit is contained in:
parent
2d7548f0cf
commit
f0fa2b25ba
1 changed files with 4 additions and 1 deletions
|
@ -3050,7 +3050,10 @@ for ODBC.")
|
||||||
(uri (pypi-uri "pyodbc" version))
|
(uri (pypi-uri "pyodbc" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0skjpraar6hcwsy82612bpj8nw016ncyvvq88j5syrikxgp5saw5"))
|
(base32 "0skjpraar6hcwsy82612bpj8nw016ncyvvq88j5syrikxgp5saw5"))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Delete precompiled binaries. The corresponding source is included.
|
||||||
|
#~(for-each delete-file (find-files "." "\\.pyc$")))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list unixodbc))
|
(list unixodbc))
|
||||||
|
|
Reference in a new issue