void-packages/srcpkgs/reuse/template

22 lines
1.1 KiB
Bash

# Template file for 'reuse'
pkgname=reuse
version=2.1.0
revision=1
build_style=python3-pep517
# These tests pass on local machine but don't pass in CI.
make_check_args="--deselect tests/test_lint.py::test_lint_read_errors
--deselect tests/test_main_addheader.py::test_addheader_to_read_only_file_does_not_traceback
--deselect tests/test_report.py::test_generate_project_report_read_error
--deselect tests/test_main_annotate.py::test_annotate_to_read_only_file_does_not_traceback"
make_check_target="tests"
hostmakedepends="python3-poetry-core"
depends="python3-binaryornot python3-boolean.py python3-debian python3-Jinja2 python3-license-expression"
checkdepends="${depends} python3-pytest git mercurial"
short_desc="Helper tool for compliance with REUSE Specification"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later, CC0-1.0, Apache-2.0, CC-BY-SA-4.0"
homepage="https://reuse.software"
changelog="https://raw.githubusercontent.com/fsfe/reuse-tool/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/r/reuse/reuse-${version}.tar.gz"
checksum=4211e91caa4c9e433802618a89a2d49a67e2bf76a8029d6708090892f0cdebec