[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: python-boot0: Do not inherit source snippet from python.
From: |
guix-commits |
Subject: |
07/15: gnu: python-boot0: Do not inherit source snippet from python. |
Date: |
Tue, 14 Jan 2020 12:37:11 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 404efac48bbb96ce6852df2059001cbfa22a3cfb
Author: Marius Bakke <address@hidden>
AuthorDate: Tue Jan 14 18:10:33 2020 +0100
gnu: python-boot0: Do not inherit source snippet from python.
This is in preparation for Python 3.8 which requires changes.
* gnu/packages/commencement.scm (python-boot0)[source]: Copy modules and
snippet from PYTHON instead of inheriting.
---
gnu/packages/commencement.scm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 928819d..0f7ca24 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1885,13 +1885,21 @@ the bootstrap environment."
(version "3.5.7")
(source (bootstrap-origin
(origin
- (inherit (package-source python))
+ (method url-fetch)
(uri (string-append "https://www.python.org/ftp/python/"
version "/Python-" version ".tar.xz"))
- (patches '())
(sha256
(base32
- "1p67pnp2ca5przx2s45r8m55dcn6f5hsm0l4s1zp7mglkf4r4n18")))))
+ "1p67pnp2ca5przx2s45r8m55dcn6f5hsm0l4s1zp7mglkf4r4n18"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete the bundled copy of libexpat.
+ (delete-file-recursively "Modules/expat")
+ (substitute* "Modules/Setup.dist"
+ ;; Link Expat instead of embedding the bundled one.
+ (("^#pyexpat.*") "pyexpat pyexpat.c -lexpat\n"))
+ #t)))))
(inputs
`(,@(%boot0-inputs)
("expat" ,expat-sans-tests))) ;remove OpenSSL, zlib, etc.
- 05/15: gnu: grep: Update to 3.4., (continued)
- 05/15: gnu: grep: Update to 3.4., guix-commits, 2020/01/14
- 01/15: gnu: findutils: Fix bootstrap on aarch64-linux and armhf-linux., guix-commits, 2020/01/14
- 02/15: gnu: file: Update to 5.38., guix-commits, 2020/01/14
- 06/15: gnu: guile: Apply Shepherd fix to the default Guile., guix-commits, 2020/01/14
- 04/15: gnu: OpenSSL: Enable parallel build., guix-commits, 2020/01/14
- 12/15: gnu: libuv: Update to 1.34.1., guix-commits, 2020/01/14
- 08/15: gnu: python-boot0: Update to 3.5.9., guix-commits, 2020/01/14
- 09/15: gnu: acl: Do not build the static library., guix-commits, 2020/01/14
- 10/15: gnu: libev: Update to 4.31., guix-commits, 2020/01/14
- 13/15: gnu: libuv: Do not build the static library., guix-commits, 2020/01/14
- 07/15: gnu: python-boot0: Do not inherit source snippet from python.,
guix-commits <=
- 11/15: gnu: libev: Do not build the static library., guix-commits, 2020/01/14
- 14/15: gnu: python2: Update to 2.7.17., guix-commits, 2020/01/14
- 15/15: gnu: help2man: Update to 1.47.12., guix-commits, 2020/01/14