30 lines
801 B
Bash
30 lines
801 B
Bash
# Template file for 'flake8'
|
|
pkgname=flake8
|
|
version=3.6.0
|
|
revision=1
|
|
noarch=yes
|
|
build_style=python3-module
|
|
pycompile_module="flake8"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-pycodestyle python3-pyflakes python3-mccabe"
|
|
short_desc="The modular source code checker: pycodestyle, 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=6a35f5b8761f45c5513e3405f110a86bea57982c3b75b766ce7b65217abe1670
|
|
|
|
pre_build() {
|
|
sed -i '/setup_requires/d' setup.py
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-flake8_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="flake8>=${version}_${revision}"
|
|
}
|