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.
This commit is contained in:
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

View file

@ -7584,13 +7584,19 @@ (define-public sbcl-burgled-batteries3
(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