GNU bug report logs - #73652
[PATCH] gnu: jc: Update to 1.25.3.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sun, 6 Oct 2024 07:16:02 UTC

Severity: normal

Tags: patch

Done: "jgart" <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: bug#73652: closed (Re: [PATCH] gnu: jc: Update to 1.25.3.)
Date: Mon, 07 Oct 2024 20:25:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#73652: [PATCH] gnu: jc: Update to 1.25.3.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 73652 <at> debbugs.gnu.org.

-- 
73652: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73652
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "jgart" <jgart <at> dismail.de>
To: 73652-done <at> debbugs.gnu.org, "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: Re: [PATCH] gnu: jc: Update to 1.25.3.
Date: Mon, 07 Oct 2024 20:24:08 +0000
Applied!

thanks,

jgart

[Message part 3 (message/rfc822, inline)]
From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [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




This bug report was last modified 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.