[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/13: gnu: xonsh: Update to 0.12.4.
From: |
guix-commits |
Subject: |
13/13: gnu: xonsh: Update to 0.12.4. |
Date: |
Fri, 13 May 2022 11:52:22 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 2e6f4220cffc72f55f5390a57499e95fc9a03796
Author: arkhan <arkhan@riseup.net>
AuthorDate: Wed May 11 16:04:40 2022 -0500
gnu: xonsh: Update to 0.12.4.
* gnu/packages/shells.scm (xonsh): Update to 0.12.4.
[source](snippet): Substitute "xonsh/parsers/completion_context.py".
[arguments]: Rewrite #:phases as a gexp.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/shells.scm | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 00a0ef363d..9fe0ed8e27 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -545,13 +545,13 @@ ksh, and tcsh.")
(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 @@ ksh, and tcsh.")
"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,19 @@ ksh, and tcsh.")
#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/")
- branch master updated (7f7cc04208 -> 2e6f4220cf), guix-commits, 2022/05/13
- 01/13: doc: Add "Writing Manifests" node., guix-commits, 2022/05/13
- 04/13: gnu: artanis: Remove input labels., guix-commits, 2022/05/13
- 02/13: gnu: guile-ics: Update to 0.2.1, guix-commits, 2022/05/13
- 07/13: gnu: openssl: Use $SSL_CERT_DIR/$SSL_CERT_FILE., guix-commits, 2022/05/13
- 12/13: gnu: poke: Update to 2.3., guix-commits, 2022/05/13
- 13/13: gnu: xonsh: Update to 0.12.4.,
guix-commits <=
- 06/13: search-paths: Define $SSL_CERT_DIR and $SSL_CERT_FILE., guix-commits, 2022/05/13
- 08/13: gnu: cuirass: Use $SSL_CERT_DIR., guix-commits, 2022/05/13
- 05/13: gnu: pipe-viewer: Update to 0.2.0, guix-commits, 2022/05/13
- 03/13: gnu: artanis: Update to 0.5.1., guix-commits, 2022/05/13
- 10/13: gnu: curl: Use $SSL_CERT_DIR/$SSL_CERT_FILE., guix-commits, 2022/05/13
- 09/13: gnu: cmake-bootstrap: Use $SSL_CERT_DIR/$SSL_CERT_FILE., guix-commits, 2022/05/13
- 11/13: gnu: guix: Use $SSL_CERT_DIR., guix-commits, 2022/05/13