void-packages/srcpkgs/reuse/template

21 lines
1.0 KiB
Bash

# Template file for 'reuse'
pkgname=reuse
version=1.0.0
revision=2
build_style=python3-module
# 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"
hostmakedepends="python3-setuptools python3-setuptools_scm gettext"
depends="python3-binaryornot python3-boolean.py python3-debian python3-Jinja2
python3-license-expression python3-requests python3-setuptools"
checkdepends="python3-pytest $depends 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=db3022be2d87f69c8f508b928023de3026f454ce17d01e22f770f7147ac1e8d4