all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55004: Cant build xonsh 0.12.1
@ 2022-04-18 16:43 arkhan--- via Bug reports for GNU Guix
  2022-04-18 18:03 ` arkhan--- via Bug reports for GNU Guix
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: arkhan--- via Bug reports for GNU Guix @ 2022-04-18 16:43 UTC (permalink / raw)
  To: 55004

Hello, I'm trying to update xonsh to the latest version available which is 0.12.1, but it fails in
the installation step, I can't understand what the problem is, version 0.11.0 installs without any
problem, I attach the log of the error and package definition:

xonsh.scm (https://paste.debian.net/1238284)
xonsh.log (https://paste.debian.net/1238282)

Thanks for the help




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55004: Cant build xonsh 0.12.1
  2022-04-18 16:43 bug#55004: Cant build xonsh 0.12.1 arkhan--- via Bug reports for GNU Guix
@ 2022-04-18 18:03 ` arkhan--- via Bug reports for GNU Guix
  2022-05-11 21:12 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix
  2022-05-11 21:35 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix
  2 siblings, 0 replies; 5+ messages in thread
From: arkhan--- via Bug reports for GNU Guix @ 2022-04-18 18:03 UTC (permalink / raw)
  To: 55004

correct links:
xonsh.scm (https://paste.debian.net/1238284)
xonsh.log (https://paste.debian.net/1238282)

18 de abril de 2022 11:49, "arkhan--- via Bug reports for GNU Guix" <bug-guix@gnu.org> escribió:

> Hello, I'm trying to update xonsh to the latest version available which is 0.12.1, but it fails in
> the installation step, I can't understand what the problem is, version 0.11.0 installs without any
> problem, I attach the log of the error and package definition:
> 
> xonsh.scm (https://paste.debian.net/1238284)
> xonsh.log (https://paste.debian.net/1238282)
> 
> Thanks for the help




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4
  2022-04-18 16:43 bug#55004: Cant build xonsh 0.12.1 arkhan--- via Bug reports for GNU Guix
  2022-04-18 18:03 ` arkhan--- via Bug reports for GNU Guix
@ 2022-05-11 21:12 ` arkhan--- via Bug reports for GNU Guix
  2022-06-08 20:35   ` bug#55004: Cant build xonsh 0.12.1 Maxim Cournoyer
  2022-05-11 21:35 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix
  2 siblings, 1 reply; 5+ messages in thread
From: arkhan--- via Bug reports for GNU Guix @ 2022-05-11 21:12 UTC (permalink / raw)
  To: guix-patches

From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
From: arkhan <arkhan@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




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4
  2022-04-18 16:43 bug#55004: Cant build xonsh 0.12.1 arkhan--- via Bug reports for GNU Guix
  2022-04-18 18:03 ` arkhan--- via Bug reports for GNU Guix
  2022-05-11 21:12 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix
@ 2022-05-11 21:35 ` arkhan--- via Bug reports for GNU Guix
  2 siblings, 0 replies; 5+ messages in thread
From: arkhan--- via Bug reports for GNU Guix @ 2022-05-11 21:35 UTC (permalink / raw)
  To: 55004, guix-patches

[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]

Attach patch file

11 de mayo de 2022, 16:14, "arkhan--- via Bug reports for GNU Guix" <bug-guix@gnu.org mailto:bug-guix@gnu.org?to=%22arkhan---%20via%20Bug%20reports%20for%20GNU%20Guix%22%20%3Cbug-guix%40gnu.org%3E > escribió:

> 
> From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
> From: arkhan <arkhan@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
>

[-- Attachment #2: 0001-Update-xonsh-0.12.4.patch --]
[-- Type: application/octet-stream, Size: 2388 bytes --]

From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
From: arkhan <arkhan@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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#55004: Cant build xonsh 0.12.1
  2022-05-11 21:12 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix
@ 2022-06-08 20:35   ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-06-08 20:35 UTC (permalink / raw)
  To: arkhan; +Cc: guix-patches, 55004-done

Hi,

Closing, as it was applied by Ludovic in
2e6f4220cffc72f55f5390a57499e95fc9a03796.

Thanks!

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-08 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18 16:43 bug#55004: Cant build xonsh 0.12.1 arkhan--- via Bug reports for GNU Guix
2022-04-18 18:03 ` arkhan--- via Bug reports for GNU Guix
2022-05-11 21:12 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix
2022-06-08 20:35   ` bug#55004: Cant build xonsh 0.12.1 Maxim Cournoyer
2022-05-11 21:35 ` bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4 arkhan--- via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.