[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/07: gnu: python-pyodbc: Remove precompiled .pyc files from source.
From: |
guix-commits |
Subject: |
01/07: gnu: python-pyodbc: Remove precompiled .pyc files from source. |
Date: |
Sat, 11 Jun 2022 15:00:53 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit f0fa2b25ba9d98644af3e79f025716c46fbed29a
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jun 5 02:00:00 2022 +0200
gnu: python-pyodbc: Remove precompiled .pyc files from source.
* gnu/packages/databases.scm (python-pyodbc)[source]: Add a snippet.
Remove no-op file-name.
---
gnu/packages/databases.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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))
- branch master updated (2d7548f0cf -> c23d4871a6), guix-commits, 2022/06/11
- 01/07: gnu: python-pyodbc: Remove precompiled .pyc files from source.,
guix-commits <=
- 03/07: gnu: python-pyodbc: Update to 4.0.32., guix-commits, 2022/06/11
- 04/07: gnu: python-pyodbc-c: Don't use unstable tarball., guix-commits, 2022/06/11
- 06/07: gnu: python-pyodbc-c: Fix metadata., guix-commits, 2022/06/11
- 07/07: gnu: irssi: Update to 1.4.1., guix-commits, 2022/06/11
- 02/07: gnu: python-pyodbc: Document the test situation., guix-commits, 2022/06/11
- 05/07: gnu: python-pyodbc-c: Update to 3.1.5., guix-commits, 2022/06/11