aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-pygraphviz/APKBUILD
blob: c1c2351bbd7c055b7b61868ed490db4416f4a356 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"