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

Andreas Radke andyrtr at archlinux.org
Sun Jun 7 13:34:37 UTC 2020


    Date: Sunday, June 7, 2020 @ 13:34:36
  Author: andyrtr
Revision: 388420

upgpkg: graphviz 2.44.0-4: drop python2 bindings

Modified:
  graphviz/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-07 13:31:51 UTC (rev 388419)
+++ PKGBUILD	2020-06-07 13:34:36 UTC (rev 388420)
@@ -4,13 +4,13 @@
 
 pkgname=graphviz
 pkgver=2.44.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Graph visualization software'
 url='https://www.graphviz.org/'
 license=('EPL')
 arch=('x86_64')
 depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts' 'gsfonts' 'libnsl' 'libpng')
-makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'python' 'python2' 'r' 'tk' 'qt5-base' 'gtk2' 'git')
+makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'python' 'r' 'tk' 'qt5-base' 'gtk2' 'git')
 optdepends=('mono: sharp bindings'
             'guile: guile bindings'
             'lua: lua bindings'
@@ -17,7 +17,6 @@
             'ocaml: ocaml bindings'
             'perl: perl bindings'
             'python: python bindings'
-            'python2: python2 bindings'
             'r: r bindings'
             'tcl: tcl bindings'
             'qt5-base: gvedit'
@@ -33,16 +32,16 @@
 prepare() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	patch -p1 -i ../ghostscript918.patch
-	./autogen.sh
+	./autogen.sh NOCONFIG
 }
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	export PYTHON=python2
 	export LIBPOSTFIX=/
 	export CXXFLAGS+=' -fPIC -fpermissive'
 
-	./configure --prefix=/usr
+	./configure --prefix=/usr \
+           --enable-python3=yes --disable-python
 	make
 }
 



More information about the arch-commits mailing list