# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python2-gnuplot pkgver=1.8 pkgrel=9 pkgdesc='Plot graphs with Gnuplot.' arch=('any') license=('LGPL') url='https://gnuplot-py.sourceforge.net/' depends=('python2' 'python2-numpy' 'gnuplot') makedepends=('git' 'python2-setuptools') source=('git+https://github.com/yuyichao/gnuplot-py#commit=2c2218dc67') sha512sums=('SKIP') build() { cd gnuplot-py python2 setup.py build } package() { cd gnuplot-py python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \ --skip-build }