[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73652] [PATCH] gnu: jc: Update to 1.25.3.
From: |
Artyom V. Poptsov |
Subject: |
[bug#73652] [PATCH] gnu: jc: Update to 1.25.3. |
Date: |
Sun, 6 Oct 2024 10:15:14 +0300 |
* 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
---
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 @@ (define-public pam-uaccess
(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 @@ (define-public jc
(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 @@ (define-public jc
;; 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))
base-commit: 002df8abd2f4d7c5d23febb1459b77c880345ca7
--
2.46.0
- [bug#73652] [PATCH] gnu: jc: Update to 1.25.3.,
Artyom V. Poptsov <=