27 lines
903 B
Bash
27 lines
903 B
Bash
# Template file for 'flake8'
|
|
pkgname=flake8
|
|
version=5.0.4
|
|
revision=1
|
|
build_style=python3-module
|
|
make_check_args="--deselect=tests/unit/plugins/pycodestyle_test.py"
|
|
hostmakedepends="python3-setuptools"
|
|
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://gitlab.com/pycqa/flake8"
|
|
changelog="https://raw.githubusercontent.com/PyCQA/flake8/master/docs/source/release-notes/$version.rst"
|
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
|
checksum=6fbe320aad8d6b95cec8b8e47bc933004678dc63095be98528b7bdd2a9f510db
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-flake8_package() {
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="flake8>=${version}_${revision}"
|
|
}
|