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

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python2 setup.py build || return 1
}

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

md5sums="07e53dca16116963da8166569c6ce5b4  relatorio-0.6.1.tar.gz"
sha256sums="789c0310481ab98cfabb0337b59d8f22d14430a4fdd8c525aa02f8e70389f8b0  relatorio-0.6.1.tar.gz"
sha512sums="ada690a92db6c6bc239a34b1f86f19979a1ccaf6e39c044464c0f40948fd3f584748c2a486bb513d190ef7b0adc01d204e6ecf6e3172761484cf96da9bf4eb38  relatorio-0.6.1.tar.gz"