From 4624302c4a626873e83f163cf5b3856d8c5e1566 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 6 Oct 2024 10:15:14 +0300 Subject: gnu: jc: Update to 1.25.3. * gnu/packages/admin.scm (jc): Update to 1.25.3. [arguments]: In "hack-time-zone" phase, set the TZ environment variable instead of substituting the timezone in tests. Change-Id: Ib1df51435ac8ed78ddbbaac2953dec00cbc71b85 Signed-off-by: jgart --- gnu/packages/admin.scm | 7 +++---- 1 file 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)) -- cgit v1.2.3