void-packages/srcpkgs/flake8/template
2016-06-16 23:15:55 +02:00

23 lines
634 B
Bash

# Template file for 'flake8'
pkgname=flake8
version=2.5.5
revision=1
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=326a54ace7878a5ad1538110f2145bc6a134df43fff290475fd4e7ba38a6deea
pre_build() {
# remove all caps
sed -i 's/, *< *[0-9=.]*//' setup.py
}
post_install() {
vlicense LICENSE
}