1 # Maintainer: Eugen Zagorodniy <e dot zagorodniy at gmail dot com>
2 # Contributor: Olaf Leidinger <leidola@newcon.de>
3 # Contributer: Henning Garus <henning.garus@gmail.com>
4 # Contributor: Thomas Burdick <thomas.burdick@gmail.com>
9 pkgdesc="Python bindings for Qt Widgets for Technical Applications"
10 arch=("i686" "x86_64")
11 url="http://pyqwt.sourceforge.net/"
12 depends=('python2' 'python2-pyqt>=4.6.0' 'python2-numpy>=1.1.0' 'qwt5>=5.0.2' 'sip>=4.7.6')
13 options=('!makeflags')
16 "http://downloads.sourceforge.net/sourceforge/pyqwt/PyQwt-$pkgver.tar.gz"
17 "qplt.py-r1.21.patch::http://pyqwt.cvs.sourceforge.net/viewvc/pyqwt/pyqwt5/qt4lib/PyQt4/Qwt5/qplt.py?r1=1.20&r2=1.21&view=patch"
20 md5sums=('fcd6c6029090d473dcc9df497516eae7'
21 '15e4c1f047f4b3867ca5c30b9c209349'
22 '8d811bcfaf1a952286b12b6e6152c68a')
26 patch PyQwt-$pkgver/qt4lib/PyQt4/Qwt5/qplt.py qplt.py-r1.21.patch
27 patch -d PyQwt-$pkgver -p1 < use-qwt5.patch
28 cd PyQwt-$pkgver/configure
29 python2 configure.py -I/usr/include/qwt5 -lqwt5 || return 1
32 make DESTDIR=$pkgdir install || return 1