aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-empy/APKBUILD
blob: eade1b86b28c016751e7c4ef9baee768aedb0248 (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
# Contributor: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
pkgname=py3-empy
_pkgname=empy
pkgver=3.3.4
pkgrel=0
pkgdesc="A powerful and robust templating system for Python."
url="http://www.alcyone.com/software/empy/"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3"
source="http://www.alcyone.com/software/empy/empy-$pkgver.tar.gz
	10-fix-test-case.patch
	20-fix-setuppy.patch
	"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	sh test.sh python3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5de8de26484468d180a2575bfc8302cb3d32004ed4d70768310b7564a9ed1bb880b8c1d862f419588b2b5baa8c3da8bc707eac41f3921e6136cc5bc3f47f1a3d  empy-3.3.4.tar.gz
f48040e697de119dcb811a85aed485446464c68b89552b5499e3df7b865b30fe6b33123d9918340e3fa8adcb722694e232ba5d62be6201f896018c65d50cfabe  10-fix-test-case.patch
e30eae88792dd6e32406b0f1719319b186966d82c846685fc6cdd2fa7f54b31c1aa30e212c9793a7f6b21960c635c1ff673fd2b6734eec500712ec58f667b05a  20-fix-setuppy.patch"