me
/
guix
Archived
1
0
Fork 0

gnu: python-pyodbc: Remove precompiled .pyc files from source.

* gnu/packages/databases.scm (python-pyodbc)[source]: Add a snippet.
Remove no-op file-name.
master
Tobias Geerinckx-Rice 2022-06-05 02:00:00 +02:00
parent 2d7548f0cf
commit f0fa2b25ba
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 1 deletions

View File

@ -3050,7 +3050,10 @@ for ODBC.")
(uri (pypi-uri "pyodbc" version))
(sha256
(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)
(inputs
(list unixodbc))