summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eef3e739895d015d747031ab620477370fff53ad (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
33
34
35
36
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Michael Krauss <hippodriver@gmx.net>
# Contributor: Baptiste Jonglez <zerstorer at free dot fr>

pkgbase=python-gnuplot
pkgname=(python-gnuplot)
pkgver=1.8
pkgrel=14
pkgdesc='Plot graphs with Gnuplot'
arch=(any)
license=(LGPL)
url='https://gnuplot-py.sourceforge.net/'
depends=(python-numpy gnuplot)
makedepends=(git python-setuptools)
source=("git+https://github.com/yuyichao/gnuplot-py#commit=2c2218dc67"
        "0001-1.8-is-not-a-valid-version-number.patch")
sha256sums=('SKIP'
            '8d37967c27426669b42b7644f4c9ee3c424e99eeb46b82a6c8b6662a29781b6c')

prepare() {
  cd gnuplot-py
  patch -Np1 -i ${srcdir}/0001-1.8-is-not-a-valid-version-number.patch
}

build() {
	cd gnuplot-py
	python setup.py build
}

package() {
  cd gnuplot-py

  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

# vim: ts=2 sw=2 et: