2016-10-24 11:00:23 +00:00
|
|
|
# Template file for 'python-pyflakes'
|
|
|
|
pkgname=python-pyflakes
|
2017-01-16 17:28:05 +00:00
|
|
|
version=1.5.0
|
2017-01-12 23:37:37 +00:00
|
|
|
revision=1
|
2016-10-24 11:00:23 +00:00
|
|
|
noarch=yes
|
|
|
|
replaces="pyflakes>=0"
|
|
|
|
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 <al3hex@gmail.com>"
|
|
|
|
homepage="https://github.com/PyCQA/pyflakes"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
|
2017-01-16 17:28:05 +00:00
|
|
|
checksum=aa0d4dff45c0cc2214ba158d29280f8fa1129f3e87858ef825930845146337f4
|
2016-10-24 11:00:23 +00:00
|
|
|
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-pyflakes_package() {
|
|
|
|
noarch=yes
|
|
|
|
pycompile_module="pyflakes"
|
|
|
|
replaces="python3.4-pyflakes>=0"
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
python3.4-pyflakes_package() {
|
|
|
|
noarch=yes
|
|
|
|
build_style=meta
|
|
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
|
|
depends="python3-pyflakes>=${version}_${revision}"
|
|
|
|
}
|