aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-actdiag/APKBUILD
blob: 2da6fa11bba45efed6bb7c8b29854f92f7f80fea (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.1
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="171c47bc1f70e5fadfffd9df0c3157be  actdiag-0.5.1.tar.gz"
sha256sums="84de54e1c3c1b09f173fd072a2c37af7ed2813b9a343bd0fd324545db5636b29  actdiag-0.5.1.tar.gz"
sha512sums="2a8b11882032ccbb4c0deb7e3e0b191ca12a213d8698fdd140e25c884cb014aeb0d3df8b4f3c8f7370f86218c320345c18aa870bc286346f2d71ab8f9a5ba668  actdiag-0.5.1.tar.gz"