void-packages/srcpkgs/python-pyflakes/template
2020-05-20 21:39:41 +02:00

33 lines
884 B
Bash

# Template file for 'python-pyflakes'
pkgname=python-pyflakes
version=2.2.0
revision=1
archs=noarch
wrksrc="pyflakes-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Passive checker of Python programs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/PyCQA/pyflakes"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2"
post_install() {
vlicense LICENSE
}
python3-pyflakes_package() {
archs=noarch
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
}
}