aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2014-12-16 05:00:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-23 15:45:40 +0000
commit5e7127caec0e85c555368e33132290ca63fd6e58 (patch)
treec0fc441cd884c9b1ef73d71ebb08ed22c923ce93 /testing
parent623e78abf6a370fea0f5401252cb3680b8c24f9d (diff)
downloadaports-5e7127caec0e85c555368e33132290ca63fd6e58.tar.bz2
aports-5e7127caec0e85c555368e33132290ca63fd6e58.tar.xz
testing/py-graphiz: new aport
py-graphiz is better maintained on github. This fixes a broken gui on virtualbricks.
Diffstat (limited to 'testing')
-rw-r--r--testing/py-graphviz/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/py-graphviz/APKBUILD b/testing/py-graphviz/APKBUILD
new file mode 100644
index 0000000000..d3547e55e2
--- /dev/null
+++ b/testing/py-graphviz/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=py-graphviz
+pkgver=1.3
+_pkgver=rc2
+pkgrel=0
+pkgdesc="Python interface to Graphviz"
+url="https://pypi.python.org/pypi/pygraphviz | http://graphviz.org/"
+arch="all"
+license="BSD"
+depends="python"
+depends_dev=""
+makedepends="python-dev graphviz-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-$pkgver$_pkgver.tar.gz"
+
+_builddir="$srcdir"/pygraphviz-pygraphviz-$pkgver$_pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ export PYTHON=python2.7
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="91f6d57dfc63cefa12c38eba3f09db09 pygraphviz-1.3rc2.tar.gz"
+sha256sums="46737437bd872788b376aeddef9176def9f87339deed739f6769ee8dbe68121f pygraphviz-1.3rc2.tar.gz"
+sha512sums="f1ed6e52a07320701e788696b8dc46d0903bdbd740645f07658265bb9dea411b43d90d97ecb2ed658fec4c53fa966d89f5feef0aa62acb4157f6ba662475d876 pygraphviz-1.3rc2.tar.gz"