void-packages/srcpkgs/flake8/template

24 lines
634 B
Bash

# Template file for 'flake8'
pkgname=flake8
version=2.5.4
revision=3
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools"
depends="${hostmakedepends} pep8 pyflakes mccabe"
pycompile_module="flake8"
short_desc="The modular source code checker: pep8, pyflakes, mccabe"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://gitlab.com/pycqa/flake8"
license="MIT"
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
checksum=cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f
pre_build() {
# remove all caps
sed -i 's/, *< *[0-9=.]*//' setup.py
}
post_install() {
vlicense LICENSE
}