aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-actdiag/APKBUILD
blob: 1edcc8d39207e19e5fa37c0842c7cd12ef95cdda (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-sphinxcontrib-actdiag
_pkgname=sphinxcontrib-actdiag
pkgver=0.5.1
pkgrel=0
pkgdesc="Sphinx "actdiag" extension"
url="https://pypi.python.org/pypi/sphinxcontrib-actdiag"
arch="noarch"
license="BSD"
depends="python py-sphinx py-actdiag"
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="463da655983a8b4a970c62d3c3486c48  sphinxcontrib-actdiag-0.5.1.tar.gz"
sha256sums="c3414009cd9796336014be90c051cb42838e18928171dd001edeecf4c8405b75  sphinxcontrib-actdiag-0.5.1.tar.gz"
sha512sums="47d42e451e4f4330ba0dd3ff39544ffe042e1a0635e38cdd34217a447aa487566e7edb17111cafd4aded278b995b141f488657f59f450a90a42572aa64ab6c24  sphinxcontrib-actdiag-0.5.1.tar.gz"