Skip to content

Commit

Permalink
Convert .reuse/dep5 to REUSE.toml. (#929)
Browse files Browse the repository at this point in the history
because `dep5` is deprecated.
  • Loading branch information
MarkCallow authored Jul 9, 2024
1 parent f3b219d commit 01cf628
Show file tree
Hide file tree
Showing 3 changed files with 296 additions and 231 deletions.
223 changes: 0 additions & 223 deletions .reuse/dep5

This file was deleted.

10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,8 @@ install:
if [ "$CHECK_REUSE" = "YES" -o "$CHECK_REUSE" = "ONLY" ]; then
set -e # because the if below swallows a bad exit status.
# reuse available via `apt install reuse` is very old: 0.14.0.
# Therefore install via pip. Version today, 2024.7.7, is 4.0.2.
# Therefore install via pip. Version today, 2024.7.9, is 4.0.3.
pip3 install reuse
# 4.0.2's version specifier, attrs>=21.1, is too relaxed. reuse fails
# with ModuleNotFound for attrs. 21.2 is installed in the runner.
# It needs a more recent attrs. As of 2.24.7.7 this upgrades to 23.2
# and reuse works. Watch https://github.com/fsfe/reuse-tool/issues/1039.
# When fixed remove this upgrade line.
pip3 install --upgrade attrs
set +e
fi
if [ "$CHECK_REUSE" != "ONLY" -a "$CHECK_MKVK" != "ONLY" -a "$WASM_BUILD" != "YES" ]; then
Expand Down Expand Up @@ -282,7 +276,7 @@ script:
linux)
if [ "$CHECK_REUSE" = "YES" -o "$CHECK_REUSE" = "ONLY" ]; then
echo "Calling reuse lint."
reuse --suppress-deprecation lint
reuse lint
fi
if [ "$CHECK_REUSE" != "ONLY" -a "$CHECK_MKVK" != "ONLY" ]; then
if [ "$WASM_BUILD" = "YES" ]; then
Expand Down
Loading

0 comments on commit 01cf628

Please sign in to comment.