updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python2-guiqwt / PKGBUILD
blobd6359fcf4b9962929bd77881efe28afe5357f599
1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=python2-guiqwt
3 pkgver=2.1.6
4 pkgrel=1
5 pkgdesc="Python library providing efficient 2D data-plotting features"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/guiqwt/"
8 license=('custom:CeCIL')
9 depends=('python2>=2.5' 'python2-pyqt>=4.4' 'python2-qscintilla>=2.1' 'python2-guidata>=1.3'
10          'pyqwt>=5.2' 'python2-numpy>=1.3' 'python2-scipy>=0.7' 'python-imaging>=1.1.6')
11 optdepends=('python2-pydicom: for DICOM files I/O features')
12 makedepends=('python2-distribute' 'unzip' 'gcc-fortran')
13 options=(!emptydirs)
15 source=(http://guiqwt.googlecode.com/files/guiqwt-$pkgver.zip)
16 md5sums=('3b2cc0205c5d5007ef21f5490604f5fc')
18 build() {
19   cd "$srcdir/guiqwt-$pkgver"
21   unset LDFLAGS
22   python2 setup.py install --root="$pkgdir"/ --optimize=1 || return 1
24   install -Dm644 Licence_CeCILL_V2-en.txt "$pkgdir/usr/share/licenses/python2-guiqwt/LICENSE"