pyflakes: add python3.4 flavor

This commit is contained in:
Alessio Sergi 2016-06-24 19:46:45 +02:00
parent de396c8592
commit 7eba369bda
2 changed files with 21 additions and 4 deletions

View file

@ -1,19 +1,35 @@
# Template file for 'pyflakes'
pkgname=pyflakes
version=1.2.3
revision=1
revision=2
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools"
depends="${hostmakedepends}"
python_versions="2.7 3.4"
pycompile_module="pyflakes"
short_desc="Passive checker of Python programs"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-setuptools"
short_desc="Passive checker of Python programs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pyflakes/pyflakes"
license="MIT"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=2e4a1b636d8809d8f0a69f341acf15b2e401a3221ede11be439911d23ce2139e
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2.7"
post_install() {
vlicense LICENSE
}
python3.4-pyflakes_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="pyflakes"
depends="python3.4-setuptools"
short_desc="${short_desc/Python2/Python3.4}"
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes3.4"
pkg_install() {
vmove usr/bin/*3.4
vmove usr/lib/python3.4
vlicense LICENSE
}
}

1
srcpkgs/python3.4-pyflakes Symbolic link
View file

@ -0,0 +1 @@
pyflakes