GNU bug report logs - #55378
[PATCH] gnu: xonsh: Update to 0.12.4

Previous Next

Package: guix-patches;

Reported by: arkhan <at> disroot.org

Date: Wed, 11 May 2022 23:57:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#55378: closed ([PATCH] gnu: xonsh: Update to 0.12.4)
Date: Fri, 13 May 2022 15:51:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 13 May 2022 17:50:06 +0200
with message-id <87r14xfn4h.fsf <at> gnu.org>
and subject line Re: bug#55378: [PATCH] gnu: xonsh: Update to 0.12.4
has caused the debbugs.gnu.org bug report #55378,
regarding [PATCH] gnu: xonsh: Update to 0.12.4
to be marked as done.

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


-- 
55378: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55378
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: arkhan <at> disroot.org
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: xonsh: Update to 0.12.4
Date: Wed, 11 May 2022 23:55:51 +0000
[Message part 3 (text/plain, inline)]
From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
From: arkhan <arkhan <at> riseup.net mailto:arkhan <at> riseup.net >
Date: Wed, 11 May 2022 16:04:40 -0500
Subject: [PATCH] Update xonsh 0.12.4

---
gnu/packages/shells.scm | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 00a0ef363d..ce4cdc765d 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -545,13 +545,13 @@ (define-public zsh
(define-public xonsh
   (package
     (name "xonsh")
-    (version "0.9.27")
+    (version "0.12.4")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "xonsh" version))
         (sha256
-          (base32 "1maz7yvb5py91n699yqsna81x2i25mvrqkrcn7h7870nxd87ral2"))
+          (base32 "0xlac84nsgs0052n2pw8np1smlgghrbd7p6yrcp7d5qh8zdr9lx3"))
         (modules '((guix build utils)))
         (snippet
          `(begin
@@ -565,6 +565,7 @@ (define-public xonsh
                                "xonsh/__amalgam__.py"
                                "xonsh/lexer.py"
                                "xonsh/parsers/base.py"
+                               "xonsh/parsers/completion_context.py"
                                "xonsh/xonfig.py")
               (("from xonsh\\.ply\\.(.*) import" _ module)
                (format #f "from ~a import" module))
@@ -572,10 +573,18 @@ (define-public xonsh
             #t))))
     (build-system python-build-system)
     (arguments
-     '(;; TODO Try running run the test suite.
-       ;; See 'requirements-tests.txt' in the source distribution for more
-       ;; information.
-       #:tests? #f))
+     (list ;; TODO Try running run the test suite.
+           ;; See 'requirements-tests.txt' in the source distribution for more
+           ;; information.
+           #:tests? #f
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'install
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (let* ((out (assoc-ref outputs "out")))
+                     (invoke "python" "-m" "compileall" "--invalidation-mode=unchecked-hash" out)
+                     (invoke "python" "setup.py" "install" "--root=/"
+                             (string-append "--prefix=" out))))))))
     (inputs
      (list python-ply))
     (home-page "https://xon.sh/")
--
2.36.0
[0001-Update-xonsh-0.12.4.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: arkhan <at> disroot.org
Cc: 55378-done <at> debbugs.gnu.org
Subject: Re: bug#55378: [PATCH] gnu: xonsh: Update to 0.12.4
Date: Fri, 13 May 2022 17:50:06 +0200
Hi,

arkhan <at> disroot.org skribis:

>>From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
> From: arkhan <arkhan <at> riseup.net mailto:arkhan <at> riseup.net >
> Date: Wed, 11 May 2022 16:04:40 -0500
> Subject: [PATCH] Update xonsh 0.12.4
>
> ---
> gnu/packages/shells.scm | 21 +++++++++++++++------
> 1 file changed, 15 insertions(+), 6 deletions(-)

I applied and tweaked the commit log.  Thanks!

Ludo’.


This bug report was last modified 3 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.