1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
3 pkgname=python2-pyqwt-cvs
6 pkgdesc="Python bindings for Qt Widgets for Technical Applications, CVS version"
8 url="http://pyqwt.sourceforge.net/"
9 depends=('python2' 'python2-pyqt>=4.8.0' 'python2-numpy>=1.3.0' 'qwt>=5.0.0' 'python2-sip>=4.12.0')
11 options=('!makeflags')
12 provides=('pyqwt==5.2.0.999')
16 _cvsroot=":pserver:anonymous@pyqwt.cvs.sourceforge.net:/cvsroot/pyqwt"
21 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
22 if [ -d $_cvsmod/CVS ]; then
26 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
30 msg "CVS checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_cvsmod-build"
34 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
35 cd "$srcdir/$_cvsmod-build"
39 python2 configure.py -I/usr/include/qwt -lqwt
45 cd "$srcdir/$_cvsmod-build/configure"
46 make DESTDIR="$pkgdir" install