1 # Maintainer: Gordin <9ordin @t gmail dot com>
2 pkgname=python2-cython-git
5 pkgdesc="C-Extensions for Python - latest git master - python2 version"
7 url="http://www.cython.org"
11 provides=(python2-cython cython)
12 conflicts=(python2-cython cython)
14 _gitroot="https://github.com/cython/cython.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname --depth=1
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 cp -R "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
35 python2 setup.py install --root=$startdir/pkg || return 1