[arch-commits] Commit in python-gnuplot/repos/community-any (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Tue Mar 25 13:01:14 UTC 2014


    Date: Tuesday, March 25, 2014 @ 14:01:14
  Author: arodseth
Revision: 108262

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-25 12:50:32 UTC (rev 108261)
+++ PKGBUILD	2014-03-25 13:01:14 UTC (rev 108262)
@@ -1,43 +0,0 @@
-# $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')
-pkgver=1.8
-pkgrel=2
-pkgdesc='Plot graphs with Gnuplot'
-arch=('any')
-license=('LGPL')
-url='http://gnuplot-py.sourceforge.net/'
-makedepends=('python2-setuptools' 'python2-numpy')
-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
-}
-
-# TODO: See if someone has developed a Gnuplot module for python 3.
-#       Could not find one and the following lead nowhere:
-package_python-gnuplot() {
-  # remember to add python-setuptools to makedepends if this is to be tested
-  depends=('python' 'gnuplot' 'python-numpy')
-
-  cd "gnuplot-py-$pkgver"
-  iconv --from-code=ISO-8859-1 --to-code=UTF-8 gnuplot_Suites.py > tmp
-  mv tmp gnuplot_Suites.py
-  for f in *.py; do 2to3 --no-diffs -w -n -j 4 $f || echo "--- $f"; done
-  for f in *.py; do sed -i 's/from ./from /g' $f; sed -i 's/from import/from . import/g' $f; done
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-gnuplot/repos/community-any/PKGBUILD (from rev 108261, python-gnuplot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-03-25 13:01:14 UTC (rev 108262)
@@ -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=3
+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