guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/12: gnu: jc: Update to 1.19.0.


From: guix-commits
Subject: 01/12: gnu: jc: Update to 1.19.0.
Date: Thu, 26 May 2022 15:41:31 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 1a6be557010bcf55d1c6d2e38ab1f8b5efe7303b
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 22 02:00:01 2022 +0200

    gnu: jc: Update to 1.19.0.
    
    * gnu/packages/admin.scm (jc): Update to 1.19.0.
    [arguments]: Add a new 'hack-time-zone phase.
---
 gnu/packages/admin.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d22753c64f..af75dee697 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4541,7 +4541,7 @@ supplied by the user when logging in.")
 (define-public jc
   (package
     (name "jc")
-    (version "1.13.4")
+    (version "1.19.0")
     (source
      (origin
        ;; The PyPI tarball lacks the test suite.
@@ -4551,8 +4551,16 @@ supplied by the user when logging in.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0rwvyyrdnw43pixp8h51rncq2inc9pbbj1j2191y5si00pjw34zr"))))
+        (base32 "021zk0y8kb6v3qf3hwfg8qjzzmrca039nz3fjywiy2njmbhr8hyi"))))
     (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               ;; XXX Guix's America/Los_Angeles time zone is somehow broken.
+               (add-before 'check 'hack-time-zone
+                 (lambda _
+                   (substitute* (find-files "tests" "^test.*\\.py$")
+                     (("America/Los_Angeles") "PST8PDT")))))))
     (propagated-inputs
      (list python-pygments python-ruamel.yaml python-xmltodict))
     (home-page "https://github.com/kellyjonbrazil/jc";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]