~alpine/devel

1

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

Stuart Cardall
Details
Message ID
<1418705658-46005-1-git-send-email-developer@it-offshore.co.uk>
Sender timestamp
1418705658
DKIM signature
missing
Download raw message
Patch: +4 -13
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 <ncopa@alpinelinux.org>
 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:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20141223165431.0b7ddf59@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1418705658-46005-1-git-send-email-developer@it-offshore.co.uk> (view parent)
Sender timestamp
1419350071
DKIM signature
missing
Download raw message
On Tue, 16 Dec 2014 04:54:18 +0000
Stuart Cardall <developer@it-offshore.co.uk> wrote:

> new py-graphiz to follow (which fixes the virtualbricks gui)

I think that instead of disabling it, I'll rename it to py-gv.

Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---