aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-10-06 10:15:14 +0300
committerjgart <jgart@dismail.de>2024-10-07 15:22:09 -0500
commit4624302c4a626873e83f163cf5b3856d8c5e1566 (patch)
treebba21a05bfd86bdff815f4246c42243e67e12a4d /gnu/packages
parentf97d0d2f9d8b201e56e702fe9012dcd49ec3fa83 (diff)
downloadguix-4624302c4a626873e83f163cf5b3856d8c5e1566.tar
guix-4624302c4a626873e83f163cf5b3856d8c5e1566.tar.gz
gnu: jc: Update to 1.25.3.
* gnu/packages/admin.scm (jc): Update to 1.25.3. [arguments]<phases>: In "hack-time-zone" phase, set the TZ environment variable instead of substituting the timezone in tests. Change-Id: Ib1df51435ac8ed78ddbbaac2953dec00cbc71b85 Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/admin.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5c1b063d26..398f5b6bfd 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -5013,7 +5013,7 @@ elogind's uaccess feature.")
(define-public jc
(package
(name "jc")
- (version "1.25.2")
+ (version "1.25.3")
(source
(origin
;; The PyPI tarball lacks the test suite.
@@ -5023,7 +5023,7 @@ elogind's uaccess feature.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "17cik2jlj3ph7bsyn73gdp8d32nc56dmb96ijmzpwm0kdvd7sdj8"))))
+ (base32 "0ay5wh00fzblibvvcz3jh83n8mpkfsfqmix93fz9za5kf3gpk7na"))))
(build-system pyproject-build-system)
(arguments
(list #:phases
@@ -5031,8 +5031,7 @@ elogind's uaccess feature.")
;; 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")))))))
+ (setenv "TZ" "PST8PDT"))))))
(native-inputs (list python-pytest))
(propagated-inputs
(list python-pygments python-ruamel.yaml python-xmltodict))