aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-06-05 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-06-05 02:00:07 +0200
commitf0fa2b25ba9d98644af3e79f025716c46fbed29a (patch)
tree764c970020dcd18cfe1caf83476f27b2ede40ec0 /gnu/packages/databases.scm
parent2d7548f0cf0d4e2908bc25510d736865a4e83436 (diff)
downloadguix-f0fa2b25ba9d98644af3e79f025716c46fbed29a.tar
guix-f0fa2b25ba9d98644af3e79f025716c46fbed29a.tar.gz
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.scm5
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))