mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: jc: Update to 1.25.3.
* 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 Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
parent
f97d0d2f9d
commit
4624302c4a
1 changed files with 3 additions and 4 deletions
|
@ -5013,7 +5013,7 @@ (define-public pam-uaccess
|
||||||
(define-public jc
|
(define-public jc
|
||||||
(package
|
(package
|
||||||
(name "jc")
|
(name "jc")
|
||||||
(version "1.25.2")
|
(version "1.25.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; The PyPI tarball lacks the test suite.
|
;; The PyPI tarball lacks the test suite.
|
||||||
|
@ -5023,7 +5023,7 @@ (define-public jc
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "17cik2jlj3ph7bsyn73gdp8d32nc56dmb96ijmzpwm0kdvd7sdj8"))))
|
(base32 "0ay5wh00fzblibvvcz3jh83n8mpkfsfqmix93fz9za5kf3gpk7na"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:phases
|
||||||
|
@ -5031,8 +5031,7 @@ (define-public jc
|
||||||
;; XXX Guix's America/Los_Angeles time zone is somehow broken.
|
;; XXX Guix's America/Los_Angeles time zone is somehow broken.
|
||||||
(add-before 'check 'hack-time-zone
|
(add-before 'check 'hack-time-zone
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* (find-files "tests" "^test.*\\.py$")
|
(setenv "TZ" "PST8PDT"))))))
|
||||||
(("America/Los_Angeles") "PST8PDT")))))))
|
|
||||||
(native-inputs (list python-pytest))
|
(native-inputs (list python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-pygments python-ruamel.yaml python-xmltodict))
|
(list python-pygments python-ruamel.yaml python-xmltodict))
|
||||||
|
|
Loading…
Reference in a new issue