[PATCH] gnu: jc: Update to 1.25.3.

  • Done
  • quality assurance status badge
Details
2 participants
  • jgart
  • Artyom V. Poptsov
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal

Debbugs page

Artyom V. Poptsov wrote 5 months ago
(address . guix-patches@gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
fbd50d507d2c09873b49b76abeee01dc70d3a94c.1728198914.git.poptsov.artyom@gmail.com
* 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(-)

Toggle diff (36 lines)
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
jgart wrote 5 months ago
62981d079c6d46349c2a503cd59a985494ca5f9f@dismail.de
Applied!

thanks,

jgart
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 73652@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73652
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help