gnu: cl-burgled-batteries3: Fix build with Python 3.9.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Rename 'adjust-for-python-3.8' phase to 'adjust-for-python-3.9' and update it. [inputs]: Remove labels.
parent
624eac9a6e
commit
94b28247d1
|
@ -5495,7 +5495,7 @@ high-level way. This library provides such operators.")
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/snmsts/burgled-batteries3")
|
(url "https://github.com/snmsts/burgled-batteries3")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name "cl-burgled-batteries3" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))
|
"1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))
|
||||||
|
@ -5519,21 +5519,21 @@ high-level way. This library provides such operators.")
|
||||||
(setenv "BB_PYTHON3_DYLIB"
|
(setenv "BB_PYTHON3_DYLIB"
|
||||||
(string-append python "/lib/libpython3.so"))
|
(string-append python "/lib/libpython3.so"))
|
||||||
#t)))
|
#t)))
|
||||||
(add-after 'unpack 'adjust-for-python-3.8
|
(add-after 'unpack 'adjust-for-python-3.9
|
||||||
(lambda _
|
(lambda _
|
||||||
;; This method is no longer part of the public API.
|
;; These methods are no longer part of the public API.
|
||||||
(substitute* "ffi-interface.lisp"
|
(substitute* "ffi-interface.lisp"
|
||||||
((".*PyEval_ReInitThreads.*")
|
((".*PyEval_ReInitThreads.*") "")
|
||||||
""))
|
((".*\"PyErr_Warn\".*") "")
|
||||||
#t)))))
|
((".*\"PyFloat_ClearFreeList\".*") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list sbcl-cl-fad sbcl-lift sbcl-cl-quickcheck))
|
(list sbcl-cl-fad sbcl-lift sbcl-cl-quickcheck))
|
||||||
(inputs
|
(inputs
|
||||||
`(("python" ,python)
|
(list python
|
||||||
("sbcl-cffi" ,sbcl-cffi)
|
sbcl-alexandria
|
||||||
("sbcl-alexandria" , sbcl-alexandria)
|
sbcl-cffi
|
||||||
("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
|
sbcl-parse-declarations
|
||||||
("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
|
sbcl-trivial-garbage))
|
||||||
(synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
|
(synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
|
||||||
(description
|
(description
|
||||||
"This package provides a shim between Python3 (specifically, the
|
"This package provides a shim between Python3 (specifically, the
|
||||||
|
|
Reference in New Issue