[arch-commits] Commit in python-gnuplot/repos (2 files)

Felix Yan fyan at archlinux.org
Mon Sep 21 08:01:32 UTC 2015


    Date: Monday, September 21, 2015 @ 10:01:32
  Author: fyan
Revision: 141364

archrelease: copy trunk to community-staging-any

Added:
  python-gnuplot/repos/community-staging-any/
  python-gnuplot/repos/community-staging-any/PKGBUILD
    (from rev 141363, python-gnuplot/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-gnuplot/repos/community-staging-any/PKGBUILD (from rev 141363, python-gnuplot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-21 08:01:32 UTC (rev 141364)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Michael Krauss <hippodriver at gmx.net>
+# Contributor: Baptiste Jonglez <zerstorer at free dot fr>
+
+pkgbase=python-gnuplot
+pkgname=('python2-gnuplot' 'python-gnuplot')
+pkgver=1.8
+pkgrel=5
+pkgdesc='Plot graphs with Gnuplot'
+arch=('any')
+license=('LGPL')
+url='http://gnuplot-py.sourceforge.net/'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-numpy' 'python2-numpy' 'git')
+source=("http://downloads.sourceforge.net/gnuplot-py/gnuplot-py-$pkgver.tar.gz"
+        "git://github.com/yuyichao/gnuplot-py.git#commit=2c2218dc67") # python 3 port
+sha256sums=('ab339be7847d30a8acfd616f27b5021bfde0999b7bf2d68400fbe62c53106e21'
+            'SKIP')
+
+package_python2-gnuplot() {
+  depends=('python2' 'python2-numpy' 'gnuplot')
+
+  cd "gnuplot-py-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python-gnuplot() {
+  depends=('python' 'python-numpy' 'gnuplot')
+
+  cd "gnuplot-py"
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list