Date: Tuesday, March 25, 2014 @ 11:37:43 Author: arodseth Revision: 108242
Moving python2-gnuplot from AUR Added: python-gnuplot/ python-gnuplot/repos/ python-gnuplot/repos/community-any/ python-gnuplot/trunk/ python-gnuplot/trunk/PKGBUILD ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Added: python-gnuplot/trunk/PKGBUILD =================================================================== --- python-gnuplot/trunk/PKGBUILD (rev 0) +++ python-gnuplot/trunk/PKGBUILD 2014-03-25 10:37:43 UTC (rev 108242) @@ -0,0 +1,37 @@ +#$Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Michael Krauss <hippodri...@gmx.net> +# Contributor : Baptiste Jonglez <zerstorer at free dot fr> + +pkgbase=python-gnuplot +pkgname=('python-gnuplot' 'python2-gnuplot') +pkgver=1.8 +pkgrel=2 +pkgdesc='Plot graphs with Gnuplot' +arch=('any') +license=('LGPL') +url='http://gnuplot-py.sourceforge.net/' +makedepends=('python-setuptools' 'python2-setuptools') +source=("http://downloads.sourceforge.net/gnuplot-py/gnuplot-py-$pkgver.tar.gz") +sha256sums=('ab339be7847d30a8acfd616f27b5021bfde0999b7bf2d68400fbe62c53106e21') + +build() { + cp -a "gnuplot-py-$pkgver" "gnuplot-py2-$pkgver" +} + +package_python2-gnuplot() { + depends=('python2' 'gnuplot' 'python2-numpy') + + cd "gnuplot-py2-$pkgver" + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} + +package_python-gnuplot() { + depends=('python' 'gnuplot' 'python-numpy') + + cd "gnuplot-py-$pkgver" + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} + + +# vim:set ts=2 sw=2 et: Property changes on: python-gnuplot/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property