void-packages/srcpkgs/flake8/template

29 lines
1005 B
Bash

# Template file for 'flake8'
pkgname=flake8
version=6.1.0
revision=1
build_style=python3-pep517
make_check_target="tests/unit"
make_check_args="--ignore=tests/unit/plugins/pycodestyle_test.py
--ignore=tests/unit/test_pyflakes_codes.py"
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-pycodestyle python3-pyflakes python3-mccabe"
checkdepends="$depends python3-mock python3-pytest"
short_desc="Modular source code checker: pycodestyle, pyflakes, mccabe"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://flake8.pycqa.org/"
changelog="https://raw.githubusercontent.com/PyCQA/flake8/main/docs/source/release-notes/${version}.rst"
distfiles="https://github.com/PyCQA/flake8/archive/refs/tags/${version}.tar.gz"
checksum=bcb01efc0c83d3c9362e200b5359fe22e11b859962dd27e5bebf3ada7620ae2f
post_install() {
vlicense LICENSE
}
python3-flake8_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="flake8>=${version}_${revision}"
}