aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-relatorio/APKBUILD
blob: e367411270c3cd74cf96a776fe827c87b95e5425 (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
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-relatorio
_pkgname=relatorio
pkgver=0.5.6
pkgrel=0
pkgdesc="A templating library able to output odt and pdf files"
url="http://relatorio.openhex.org"
arch="noarch"
license="GPL3+"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

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

md5sums="944fb60fadaff451ab6ee8818de516ad  relatorio-0.5.6.tar.gz"