# Contributor: Michael Krauss <hippodriver@gmx.net>
# Contributor : Baptiste Jonglez <zerstorer at free dot fr>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=gnuplot-py
pkgver=1.8
pkgrel=3
pkgdesc="Gnuplot.py is a Python package that interfaces to gnuplot."
arch=('any')
url="http://$pkgname.sourceforge.net/"
license=('LGPL')
depends=('python2-numpy' 'gnuplot')
#options=(!emptydirs)
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('abd6f571e7aec68ae7db90a5217cd5b1')

package() {
  cd $srcdir/$pkgname-$pkgver
  python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1
}

# vim:set ts=2 sw=2 et:
md5sums=('abd6f571e7aec68ae7db90a5217cd5b1')