me
/
guix
Archived
1
0
Fork 0

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.
Guillaume Le Vaillant 2022-05-21 10:39:57 +02:00
parent 624eac9a6e
commit 94b28247d1
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 11 additions and 11 deletions

View File

@ -5495,7 +5495,7 @@ high-level way. This library provides such operators.")
(uri (git-reference
(url "https://github.com/snmsts/burgled-batteries3")
(commit commit)))
(file-name (git-file-name name version))
(file-name (git-file-name "cl-burgled-batteries3" version))
(sha256
(base32
"1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))
@ -5519,21 +5519,21 @@ high-level way. This library provides such operators.")
(setenv "BB_PYTHON3_DYLIB"
(string-append python "/lib/libpython3.so"))
#t)))
(add-after 'unpack 'adjust-for-python-3.8
(add-after 'unpack 'adjust-for-python-3.9
(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"
((".*PyEval_ReInitThreads.*")
""))
#t)))))
((".*PyEval_ReInitThreads.*") "")
((".*\"PyErr_Warn\".*") "")
((".*\"PyFloat_ClearFreeList\".*") "")))))))
(native-inputs
(list sbcl-cl-fad sbcl-lift sbcl-cl-quickcheck))
(inputs
`(("python" ,python)
("sbcl-cffi" ,sbcl-cffi)
("sbcl-alexandria" , sbcl-alexandria)
("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
(list python
sbcl-alexandria
sbcl-cffi
sbcl-parse-declarations
sbcl-trivial-garbage))
(synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
(description
"This package provides a shim between Python3 (specifically, the