unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73652] [PATCH] gnu: jc: Update to 1.25.3.
@ 2024-10-06  7:15 Artyom V. Poptsov
  2024-10-07 20:24 ` bug#73652: " jgart via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2024-10-06  7:15 UTC (permalink / raw)
  To: 73652; +Cc: Artyom V. Poptsov

* 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





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

* bug#73652: [PATCH] gnu: jc: Update to 1.25.3.
  2024-10-06  7:15 [bug#73652] [PATCH] gnu: jc: Update to 1.25.3 Artyom V. Poptsov
@ 2024-10-07 20:24 ` jgart via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: jgart via Guix-patches via @ 2024-10-07 20:24 UTC (permalink / raw)
  To: 73652-done, Artyom V. Poptsov

Applied!

thanks,

jgart




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

end of thread, other threads:[~2024-10-07 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06  7:15 [bug#73652] [PATCH] gnu: jc: Update to 1.25.3 Artyom V. Poptsov
2024-10-07 20:24 ` bug#73652: " jgart via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).