summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2024-07-20 08:25:18 -0300
committerVinicius Monego <monego@posteo.net>2024-07-28 11:00:37 -0300
commit731241c3670acd06405deb7bc80f98cce5b5aaa3 (patch)
tree0f2a3ff17d6315e769564ba6fbe3a3facb2be794
parented882ad668fd9bb6f4b6673279f811bd189fadb3 (diff)
gnu: xonsh: Update to 0.18.2.
* gnu/packages/shells.scm (xonsh): Update to 0.18.2. [source](snippet): Adjust substitution filenames and delete the vendored ply package. [arguments]<#:test-flags>: Skip new failing test. Change-Id: I9a975c9ab200075cbbfe6daf1892c33cb5c3a624
-rw-r--r--gnu/packages/shells.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index c416aaff5c..d7fb2317cb 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -556,30 +556,30 @@ ksh, and tcsh.")
(define-public xonsh
(package
(name "xonsh")
- (version "0.17.0")
+ (version "0.18.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "xonsh" version))
(sha256
(base32
- "17jhhxwm1nbh7yq72y7d4n880x46817iami7lvcj3ywdbzrfg6r9"))
+ "0fx5ywsckwdxk4l5dmaf12z1b4nfd4zqdx5gapc11hhl9waks1y5"))
(modules '((guix build utils)))
(snippet
#~(begin
(substitute* "pyproject.toml"
- (("\"xonsh\\.ply\\.ply\",") ""))
+ (("\"xonsh\\.parsers\\.ply\",") ""))
;; Use our properly packaged PLY instead.
(substitute* (list "setup.py"
- "tests/test_lexer.py"
- "xonsh/lexer.py"
+ "tests/parsers/test_lexer.py"
"xonsh/parsers/base.py"
"xonsh/parsers/completion_context.py"
+ "xonsh/parsers/lexer.py"
"xonsh/parsers/v310.py"
"xonsh/xonfig.py")
- (("from xonsh\\.ply\\.(.*) import" _ module)
- (format #f "from ~a import" module))
- (("from xonsh\\.ply import") "import"))))))
+ (("from xonsh\\.parsers\\.ply") "from ply")
+ (("from xonsh\\.parsers import ply") "import ply"))
+ (delete-file-recursively "xonsh/parsers/ply")))))
(build-system pyproject-build-system)
(arguments
;; Some tests are failing for reasons like not accessing parent directory
@@ -607,6 +607,7 @@ ksh, and tcsh.")
"test_script"
"test_skipper_command"
"test_sourcefile"
+ "test_spec_decorator_alias_output_format"
"test_spec_modifier_alias_output_format"
"test_vc_get_branch"
"test_xonsh_activator"
@@ -2018,4 +2019,3 @@ syntax tree.")
(synopsis "Nushell utility functions")
(description "This package contains utility functions for nushell.")
(license license:expat)))
-