# Template file for 'python-pyflakes' pkgname=python-pyflakes version=2.1.1 revision=1 archs=noarch wrksrc="pyflakes-${version}" build_style=python-module pycompile_module="pyflakes" hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools" short_desc="Passive checker of Python programs (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/PyCQA/pyflakes" distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz" checksum=d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2 alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2" post_install() { vlicense LICENSE } python3-pyflakes_package() { archs=noarch pycompile_module="pyflakes" depends="python3-setuptools" short_desc="${short_desc/Python2/Python3}" alternatives="pyflakes:pyflakes:/usr/bin/pyflakes3" pkg_install() { vmove usr/bin/*3 vmove usr/lib/python3* vlicense LICENSE } }