mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: sbcl-burgled-batteries3: Update to 0.0.0-2.f65f454.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3): Update to 0.0.0-2.f65f454. [arguments]: Rewrite phases to use the new BB_PYTHON3_* variables. Add #:modules and #:imported-modules.
This commit is contained in:
parent
67950de7e8
commit
839fa4cd5e
1 changed files with 17 additions and 18 deletions
|
@ -5076,8 +5076,8 @@ (define-public ecl-cl-quickcheck
|
||||||
(sbcl-package->ecl-package sbcl-cl-quickcheck))
|
(sbcl-package->ecl-package sbcl-cl-quickcheck))
|
||||||
|
|
||||||
(define-public sbcl-burgled-batteries3
|
(define-public sbcl-burgled-batteries3
|
||||||
(let ((commit "9c0f6667e1a71ddf77e21793a0bea524710fef6e")
|
(let ((commit "f65f454d13bb6c40e17e9ec62e41eb5069e09760")
|
||||||
(revision "1"))
|
(revision "2"))
|
||||||
(package
|
(package
|
||||||
(name "sbcl-burgled-batteries3")
|
(name "sbcl-burgled-batteries3")
|
||||||
(version (git-version "0.0.0" revision commit))
|
(version (git-version "0.0.0" revision commit))
|
||||||
|
@ -5090,26 +5090,26 @@ (define-public sbcl-burgled-batteries3
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0b726kz2xxcg5l930gz035rsdvhxrzmp05iwfwympnb4z4ammicb"))))
|
"1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))))
|
||||||
(build-system asdf-build-system/sbcl)
|
(build-system asdf-build-system/sbcl)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f
|
`(#:tests? #f
|
||||||
|
#:modules (((guix build python-build-system) #:select (python-version))
|
||||||
|
,@%asdf-build-system-modules)
|
||||||
|
#:imported-modules ((guix build python-build-system)
|
||||||
|
,@%asdf-build-system-modules)
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases (@ (guix build asdf-build-system) %standard-phases)
|
||||||
(add-after 'unpack 'set-*cpython-include-dir*-var
|
(add-after 'unpack 'set-*cpython-include-dir*-var
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "grovel-include-dir.lisp"
|
(let ((python (assoc-ref inputs "python")))
|
||||||
(("\\(defparameter \\*cpython-include-dir\\* \\(detect-python\\)\\)")
|
(setenv "BB_PYTHON3_INCLUDE_DIR"
|
||||||
(string-append
|
(string-append python "/include/python"
|
||||||
"(defparameter *cpython-include-dir* \""
|
(python-version python)
|
||||||
(assoc-ref inputs "python")
|
"m"))
|
||||||
"/include/python3.7m"
|
(setenv "BB_PYTHON3_DYLIB"
|
||||||
"\")")))
|
(string-append python "/lib/libpython3.so"))
|
||||||
(substitute* "ffi-interface.lisp"
|
#t))))))
|
||||||
(("\\*cpython-lib\\*")
|
|
||||||
(format #f "'(\"~a/lib/libpython3.so\")"
|
|
||||||
(assoc-ref inputs "python"))))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python)
|
`(("python" ,python)
|
||||||
("sbcl-cl-fad" ,sbcl-cl-fad)
|
("sbcl-cl-fad" ,sbcl-cl-fad)
|
||||||
|
@ -5126,7 +5126,6 @@ (define-public sbcl-burgled-batteries3
|
||||||
"This package provides a shim between Python3 (specifically, the
|
"This package provides a shim between Python3 (specifically, the
|
||||||
CPython implementation of Python) and Common Lisp.")
|
CPython implementation of Python) and Common Lisp.")
|
||||||
(home-page "https://github.com/snmsts/burgled-batteries3")
|
(home-page "https://github.com/snmsts/burgled-batteries3")
|
||||||
;; MIT
|
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public cl-burgled-batteries3
|
(define-public cl-burgled-batteries3
|
||||||
|
|
Loading…
Reference in a new issue