31 lines
871 B
Bash
31 lines
871 B
Bash
# Template file for 'flake8'
|
|
pkgname=flake8
|
|
version=3.7.3
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
pycompile_module="flake8"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-pycodestyle>=2.5.0<2.6.0
|
|
python3-pyflakes>=2.1.0<2.2.0 python3-mccabe>=0.6.0<0.7.0
|
|
python3-entrypoints>=0.3<0.4"
|
|
short_desc="Modular source code checker: pycodestyle, pyflakes, mccabe"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://gitlab.com/pycqa/flake8"
|
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
|
checksum=b70f13ee944e536f22becfd716802b1f2fa4ca5ff7aea2c6423567569004f732
|
|
|
|
pre_build() {
|
|
sed -i '/setup_requires/d' setup.py
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-flake8_package() {
|
|
archs=noarch
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="flake8>=${version}_${revision}"
|
|
}
|