diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-06-05 02:00:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-06-05 02:00:07 +0200 |
commit | f0fa2b25ba9d98644af3e79f025716c46fbed29a (patch) | |
tree | 764c970020dcd18cfe1caf83476f27b2ede40ec0 /gnu/packages/databases.scm | |
parent | 2d7548f0cf0d4e2908bc25510d736865a4e83436 (diff) | |
download | guix-f0fa2b25ba9d98644af3e79f025716c46fbed29a.tar.gz guix-f0fa2b25ba9d98644af3e79f025716c46fbed29a.zip |
gnu: python-pyodbc: Remove precompiled .pyc files from source.
* gnu/packages/databases.scm (python-pyodbc)[source]: Add a snippet.
Remove no-op file-name.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9cb5491f22..8ae9c674fb 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -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)) |