mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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
This commit is contained in:
parent
ed882ad668
commit
731241c367
1 changed files with 9 additions and 9 deletions
|
@ -556,30 +556,30 @@ (define-public zsh
|
|||
(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 @@ (define-public xonsh
|
|||
"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 @@ (define-public rust-nu-utils-0.91
|
|||
(synopsis "Nushell utility functions")
|
||||
(description "This package contains utility functions for nushell.")
|
||||
(license license:expat)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue