summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 445c6dd421b6df473960e2a905dec1560c2738ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python2-guiqwt
pkgver=3.0.3
pkgrel=1
pkgdesc="Python library providing efficient 2D data-plotting features"
arch=('i686' 'x86_64')
url="https://github.com/pierreraybaut/guiqwt"
license=('custom:CeCIL')
depends=('python2-guidata' 'python2-pythonqwt' 'python2-scipy' 'python2-pillow')
optdepends=('python2-pydicom: for DICOM files I/O features'
            'spyder: for Sift embedded Python console')
makedepends=('python2-setuptools' 'cython2')
options=(!emptydirs)

source=("https://github.com/PierreRaybaut/guiqwt/archive/v${pkgver}.tar.gz")
md5sums=('732c114dcab35a5c51044cce50425309')

build() {
  cd "$srcdir"/guiqwt-$pkgver

  unset LDFLAGS
  python2 setup.py build
}

package() {
  cd "$srcdir"/guiqwt-$pkgver

  python2 setup.py install --root="$pkgdir"/ --optimize=1

  install -Dm644 Licence_CeCILL_V2-en.txt "$pkgdir/usr/share/licenses/python2-guiqwt/LICENSE"
}