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.master
parent
f63495d31b
commit
404efac48b
|
@ -1885,13 +1885,21 @@ the bootstrap environment."
|
||||||
(version "3.5.7")
|
(version "3.5.7")
|
||||||
(source (bootstrap-origin
|
(source (bootstrap-origin
|
||||||
(origin
|
(origin
|
||||||
(inherit (package-source python))
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.python.org/ftp/python/"
|
(uri (string-append "https://www.python.org/ftp/python/"
|
||||||
version "/Python-" version ".tar.xz"))
|
version "/Python-" version ".tar.xz"))
|
||||||
(patches '())
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(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
|
(inputs
|
||||||
`(,@(%boot0-inputs)
|
`(,@(%boot0-inputs)
|
||||||
("expat" ,expat-sans-tests))) ;remove OpenSSL, zlib, etc.
|
("expat" ,expat-sans-tests))) ;remove OpenSSL, zlib, etc.
|
||||||
|
|
Reference in New Issue