emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54876: closed ([PATCH] gnu: sbcl-py4cl: Fix path to python3.)


From: GNU bug Tracking System
Subject: bug#54876: closed ([PATCH] gnu: sbcl-py4cl: Fix path to python3.)
Date: Tue, 12 Apr 2022 12:09:01 +0000

Your message dated Tue, 12 Apr 2022 12:07:45 +0000
with message-id <87bkx6wll3.fsf@kitej>
and subject line Re: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3.
has caused the debbugs.gnu.org bug report #54876,
regarding [PATCH] gnu: sbcl-py4cl: Fix path to python3.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54876: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54876
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: sbcl-py4cl: Fix path to python3. Date: Tue, 12 Apr 2022 02:55:35 +0000
* gnu/packages/lisp-xyz.scm (sbcl-py4cl)[arguments]: Add the
'fix-python3-path phase which sets py4cl:*python-command* to the
absolute path to python3.
---
 gnu/packages/lisp-xyz.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 358bba4e89..10a46d4b9a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5180,6 +5180,12 @@ (define-public sbcl-py4cl
       (arguments
        '(#:phases
          (modify-phases %standard-phases
+           (add-after 'unpack 'fix-python3-path
+             (lambda _
+               (substitute* "src/callpython.lisp"
+                 (("\\*python-command\\* \"python\"")
+                  (string-append "*python-command* "
+                                 "\"" (which "python3") "\"")))))
            (add-after 'unpack 'replace-*base-directory*-var
              (lambda* (#:key outputs #:allow-other-keys)
                ;; In the ASD, the author makes an attempt to
--
2.35.1





--- End Message ---
--- Begin Message --- Subject: Re: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. Date: Tue, 12 Apr 2022 12:07:45 +0000
Patch pushed as 917c25b3ba0575c6c6e44f8af0d1365bb2378220.
Thanks.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]