pyflakes: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 10:00:16 +02:00
parent 96149c3a98
commit 0384432b77
2 changed files with 17 additions and 11 deletions

View file

@ -1,12 +1,11 @@
# Template file for 'pyflakes'
pkgname=pyflakes
version=1.3.0
revision=1
revision=2
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="pyflakes"
hostmakedepends="python-setuptools python3.4-setuptools"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Passive checker of Python programs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
@ -14,22 +13,28 @@ homepage="https://github.com/PyCQA/pyflakes"
license="MIT"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=a4f93317c97a9d9ed71d6ecfe08b68e3de9fea3f4d94dcd1d9d83ccbf929bc31
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2.7"
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2"
post_install() {
vlicense LICENSE
}
python3.4-pyflakes_package() {
python3-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"
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.4
vmove usr/lib/python3.4
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}"
}

1
srcpkgs/python3-pyflakes Symbolic link
View file

@ -0,0 +1 @@
pyflakes