From 8ce96d84470912cadb6ecb03002236c52234dd9b Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Thu, 3 Jun 2021 22:10:09 +0200 Subject: gnu: python: Do not install static libraries. This is something Fedora already does since 2010, so it should be safe, and saves a lot of space. * gnu/packages/patches/python-2.7-no-static-lib.patch: New file. * gnu/packages/patches/python-3-no-static-lib.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/python.scm (python-2.7, python-3): Use them. --- gnu/packages/python.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ca15147c56..e55794a48f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -150,7 +150,8 @@ "python-2.7-source-date-epoch.patch" "python-2.7-adjust-tests.patch" "python-cross-compile.patch" - "python-2.7-CVE-2021-3177.patch")) + "python-2.7-CVE-2021-3177.patch" + "python-2.7-no-static-lib.patch")) (modules '((guix build utils))) (snippet '(begin @@ -421,7 +422,8 @@ data types.") "python-3-deterministic-build-info.patch" "python-3-fix-tests.patch" "python-3-hurd-configure.patch" - "python-3-search-paths.patch")) + "python-3-search-paths.patch" + "python-3-no-static-lib.patch")) (sha256 (base32 "10vdf46q5ldnzkprm8pldvr5a9hrdpxjv7mpzgdw6vj3cl318nhc")) -- cgit v1.2.3