Subject: [alpine-devel] [PATCH] main/graphiz: disable python subpkg

From: Stuart Cardall <[email-masked]>
Date: Tue, 16 Dec 2014 04:54:18 +0000

new py-graphiz to follow (which fixes the virtualbricks gui)
---
 main/graphviz/APKBUILD | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index 2909cb8..09ddf43 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=graphviz
 pkgver=2.38.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Graph Visualization Tools"
 url="http://www.graphviz.org/"
 arch="all"
@@ -10,11 +10,10 @@ license="EPL"
 depends=""
 depends_dev="zlib-dev libpng-dev libjpeg-turbo-dev expat-dev freetype-dev
 	bison m4 flex fontconfig-dev libtool libsm-dev libxext-dev cairo-dev
-	pango-dev librsvg-dev gmp-dev lua5.2-dev gtk+2.0-dev swig python-dev"
+	pango-dev librsvg-dev gmp-dev lua5.2-dev gtk+2.0-dev swig"
 makedepends="$depends_dev"
 install=""
-subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py lua-$pkgname:_lua
-	$pkgname-gtk $pkgname-graphs"
+subpackages="$pkgname-dev $pkgname-doc lua-$pkgname:_lua $pkgname-gtk $pkgname-graphs"
 source="http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-$pkgver.tar.gz
 	0001-clone-nameclash.patch
 	musl-posix-grep.patch
@@ -47,6 +46,7 @@ build() {
 		--with-x \
 		--disable-static \
 		--disable-dependency-tracking \
+		--disable-python \
 		--enable-lua=yes \
 		--without-mylibgd \
 		--with-ipsepcola \
@@ -76,15 +76,6 @@ package() {
 		|| return 1
 }
 
-py() {
-	pkgdesc="Python extension for graphviz"
-	mkdir -p "$subpkgdir"/usr/lib/graphviz \
-		"$subpkgdir"/usr/lib || return 1
-	mv "$pkgdir"/usr/lib/graphviz/python* \
-		"$subpkgdir"/usr/lib/graphviz || return 1
-	mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
-}
-
 _lua() {
 	pkgdesc="Lua extension for graphviz"
 	mkdir -p "$subpkgdir"/usr/lib/graphviz \
-- 
2.2.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---