1 # Contributer: Piotr HusiatyĆski <phusiatynski@gmail.com>
3 pkgname="python2-pyflakes_ast-git"
6 pkgdesc="faster smurfier pyflakes using _ast instead of compiler"
7 url="http://github.com/kevinw/pyflakes/tree/master"
9 makedepends=("git" "setuptools")
10 provides=("pyflakes" "pyflakes_ast-git")
11 conflicts=("pyflakes" "pyflakes_ast-git")
12 arch=("i686" "x86_64")
15 _gitroot="git://github.com/kevinw/pyflakes.git "
20 msg "Connecting to $_gitroot ..."
21 if [ -d $startdir/src/$_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
32 cd $startdir/src/$_gitname-build
34 python2 setup.py install --root=${pkgdir} || return 1
35 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${_svnmod}/LICENSE