aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pygraphviz
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-11 20:40:58 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-11 22:00:45 -0300
commitd8d2552916ee5669785bb3db98f3440ecacfe883 (patch)
treedf05f0eaa42809e5d7416998d2cd3da2ce72d908 /community/py3-pygraphviz
parentd0a31c7131a443b82dda3a460a23d6e53d0c54f5 (diff)
downloadaports-d8d2552916ee5669785bb3db98f3440ecacfe883.tar.bz2
aports-d8d2552916ee5669785bb3db98f3440ecacfe883.tar.xz
community/py3-pygraphviz: rename from py-pygraphviz
Diffstat (limited to 'community/py3-pygraphviz')
-rw-r--r--community/py3-pygraphviz/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-pygraphviz/APKBUILD b/community/py3-pygraphviz/APKBUILD
new file mode 100644
index 0000000000..c1c2351bbd
--- /dev/null
+++ b/community/py3-pygraphviz/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=py-pygraphviz
+pkgver=1.3
+pkgrel=0
+pkgdesc="Python interface to Graphviz"
+url="https://pygraphviz.github.io/"
+arch="all"
+license="BSD"
+depends="python2"
+depends_dev=""
+makedepends="python2-dev graphviz-dev py-setuptools"
+subpackages="$pkgname-doc"
+source="https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-$pkgver.tar.gz"
+
+builddir="$srcdir/pygraphviz-pygraphviz-$pkgver"
+
+build() {
+ cd "$builddir"
+ python2 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="889574a735e8a9ff696dc38d59baebe44ad2b8b9ce7012e961e48a6f2974d4dfaf54a4dbf28f6c79b9bfcf71499aceec0ea618bf508399efda6583bde3b55107 pygraphviz-1.3.tar.gz"