guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5c369e8a1de13eccee9b2989d411eb9a4c6e8dc5
Author: luca <[email protected]>
AuthorDate: Sat Oct 31 13:54:29 2026 +0100
gnu: reuse: Update to 6.3.0.
The tool is neither wrapped nor patched to use
the version control systems in the input list,
hence they are moved to native-inputs for tests only.
* gnu/packages/license.scm (reuse): Update to 6.3.0.
[arguments]<phases>{set-home}: New phase before check.
<test-flags>: Skip test_custom_root_vcs.
[inputs]: Remove jujutsu. Move git and mercurial from here...
[native-inputs]: ...to here.
Add fossil and python-pytest-lazy-fixtures.
Merges: https://codeberg.org/guix/guix/pulls/12225
Modified-by: Nguyễn Gia Phong <[email protected]>
Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
gnu/packages/license.scm | 30 ++++++++++++++++++++----------
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index 17b6b2c37b6..14b6ed934b0 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -213,7 +213,7 @@ belonging to various licenses.")
(define-public reuse
(package
(name "reuse")
- (version "6.2.0")
+ (version "6.3.0")
(source
(origin
(method git-fetch)
@@ -222,21 +222,31 @@ belonging to various licenses.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1m76vrjqbr3a6bmzgxqkf0qdfk41v1mnhh524q67pincvqi533r7"))))
+ (base32 "04zya9fs29br2njvk9rz83k21syvlpf3yb2yyrbbik09l888y5ap"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 907 passed, 21 skipped, 8 warnings
- #:test-flags #~(list "--ignore=src/reuse")))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; (Testing) Fossil requires a writable $HOME.
+ (add-before 'check 'set-home
+ (lambda _ (setenv "HOME" "/tmp"))))
+ ;; tests: 1069 passed, 43 skipped, 5 deselected, 9 warnings
+ #:test-flags
+ #~'("--ignore=src/reuse"
+ ;; See https://codeberg.org/fsfe/reuse-tool/pulls/1395
+
"--deselect=tests/test_cli_lint.py::TestLint::test_custom_root_vcs")))
+ ;; FIXME: Jujutsu and Pijul tests failed.
(native-inputs
- (list python-freezegun
+ (list fossil
+ git
+ mercurial
+ python-freezegun
python-poetry-core
- python-pytest))
+ python-pytest
+ python-pytest-lazy-fixtures))
(inputs
- (list git
- jujutsu
- mercurial
- python-attrs
+ (list python-attrs
python-binaryornot
python-charset-normalizer
python-click