monego pushed a commit to branch master
in repository guix.

commit 426739bd9dd2e504d140eb02a68c1898c02ffd4b
Author: Vinicius Monego <mon...@posteo.net>
AuthorDate: Sat Jul 6 13:15:59 2024 -0300

    gnu: xonsh: Update to 0.17.0.
    
    * gnu/packages/shells.scm (xonsh): Update to 0.17.0.
    [source](snippet): Update substitution.
    
    Change-Id: I62d31200f8636e6db9de5d697e711e5b70fcfa9d
---
 gnu/packages/shells.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index ae4e73956e..e916ab1653 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2023 David Pflug <da...@pflug.io>
 ;;; Copyright © 2023 Jaeme Sifat <ja...@runbox.com>
 ;;; Copyright © 2024 Tanguy Le Carrour <tan...@bioneland.org>
+;;; Copyright © 2024 Vinicius Monego <mon...@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -547,18 +548,18 @@ ksh, and tcsh.")
 (define-public xonsh
   (package
     (name "xonsh")
-    (version "0.15.1")
+    (version "0.17.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "xonsh" version))
         (sha256
           (base32
-           "0427mimr4k75myg5mnig564kq7xbb5f5hws2ly3gxxl6g8mk79il"))
+           "17jhhxwm1nbh7yq72y7d4n880x46817iami7lvcj3ywdbzrfg6r9"))
         (modules '((guix build utils)))
         (snippet
          #~(begin
-             (substitute* "setup.py"
+             (substitute* "pyproject.toml"
                (("\"xonsh\\.ply\\.ply\",") ""))
              ;; Use our properly packaged PLY instead.
              (substitute* (list "setup.py"
@@ -566,6 +567,7 @@ ksh, and tcsh.")
                                 "xonsh/lexer.py"
                                 "xonsh/parsers/base.py"
                                 "xonsh/parsers/completion_context.py"
+                                "xonsh/parsers/v310.py"
                                 "xonsh/xonfig.py")
                (("from xonsh\\.ply\\.(.*) import" _ module)
                 (format #f "from ~a import" module))

Reply via email to