void-packages/srcpkgs/reuse/template

22 lines
1.1 KiB
Bash

# Template file for 'reuse'
pkgname=reuse
version=3.0.1
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=590ce429ad964c515ed5e18b1f755d9b6cf027943d940d472d107e64ede70a6f