aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-actdiag/APKBUILD
blob: 6523f68e1e749d17fe3fc86a98013d2de8645f61 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-actdiag
_pkgname=actdiag
pkgver=0.5.3
pkgrel=0
pkgdesc="actdiag generate activity-diagram image file from spec-text file"
url="https://pypi.python.org/pypi/actdiag"
arch="noarch"
license="ASL 2.0"
depends="python py-pillow py-funcparserlib py-blockdiag"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$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"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="ff7c4063d27db6c0040bc04d9a4de67e  actdiag-0.5.3.tar.gz"
sha256sums="caed06165657f38972835ca3ed8b132b09d0d91e1835e6d5dd9b3d90a78524ef  actdiag-0.5.3.tar.gz"
sha512sums="409b333bede270b97cd2ad5820d9bc51eabbd484101a10c002dd82def3ab3f5ded90fbdc799ae46751a11c9cf4a227d4a9723bd0262f154771db32c01f310a35  actdiag-0.5.3.tar.gz"