[arch-commits] Commit in python-gnuplot/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Feb 18 14:30:28 UTC 2019


    Date: Monday, February 18, 2019 @ 14:30:27
  Author: arodseth
Revision: 434240

upgpkg: python-gnuplot 1.8-9

Modified:
  python-gnuplot/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-18 14:24:43 UTC (rev 434239)
+++ PKGBUILD	2019-02-18 14:30:27 UTC (rev 434240)
@@ -1,32 +1,21 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: Michael Krauss <hippodriver at gmx.net>
 # Contributor: Baptiste Jonglez <zerstorer at free dot fr>
 
 pkgbase=python-gnuplot
-pkgname=('python2-gnuplot' 'python-gnuplot')
+pkgname=(python-gnuplot)
 pkgver=1.8
-pkgrel=8
+pkgrel=9
 pkgdesc='Plot graphs with Gnuplot'
-arch=('any')
-license=('LGPL')
+arch=(any)
+license=(LGPL)
 url='https://gnuplot-py.sourceforge.net/'
-makedepends=('git' 'python-numpy' 'python-setuptools' 'python2-numpy' 'python2-setuptools')
-source=("https://downloads.sourceforge.net/gnuplot-py/gnuplot-py-$pkgver.tar.gz"
-        "git+https://github.com/yuyichao/gnuplot-py.git#commit=2c2218dc67") # python 3 port
-sha256sums=('ab339be7847d30a8acfd616f27b5021bfde0999b7bf2d68400fbe62c53106e21'
-            'SKIP')
+depends=(python-numpy gnuplot)
+makedepends=(git python-setuptools)
+source=("git+https://github.com/yuyichao/gnuplot-py#commit=2c2218dc67")
+sha256sums=('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')
-
+package() {
   cd gnuplot-py
 
   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list