me
/
guix
Archived
1
0
Fork 0

gnu: cl-burgled-batteries3: Fix build.

* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Rename
  'adjust-for-python-3.9' phase to 'adjust-for-python-3.10' and update it.
master
Guillaume Le Vaillant 2023-04-17 11:41:39 +02:00
parent b6ffcc4de4
commit c0723849b5
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 8 additions and 2 deletions

View File

@ -7584,13 +7584,19 @@ 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.9
(add-after 'unpack 'adjust-for-python-3.10
(lambda _
;; These methods are no longer part of the public API.
(substitute* "ffi-interface.lisp"
((".*PyEval_ReInitThreads.*") "")
((".*\"PyErr_Warn\".*") "")
((".*\"PyFloat_ClearFreeList\".*") "")))))))
((".*\"PyFloat_ClearFreeList\".*") "")
((".*\"PyParser_SimpleParseString\".*") "")
((".*\"PyParser_SimpleParseStringFlags\".*") "")
((".*\"PyParser_SimpleParseStringFlagsFilename\".*") "")
((".*\"PyParser_SimpleParseFile\".*") "")
((".*\"PyParser_SimpleParseFileFlags\".*") "")
((".*\"PyLong_FromUnicode\".*") "")))))))
(native-inputs
(list sbcl-cl-fad sbcl-lift sbcl-cl-quickcheck))
(inputs