summaryrefslogtreecommitdiff
path: root/user/py3-mako/APKBUILD
blob: 0f7a0ab720cbe744c331c8aff974ef9e74c7c7bb (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
30
31
32
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-mako
_pkgname=Mako
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.0.12
pkgrel=0
pkgdesc="Fast templating language for Python"
url="http://www.makotemplates.org/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-markupsafe py3-mock py3-pbr py3-pluggy py3-py py3-pytest
	py3-six"
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="aa295880c07938425e661b8865fed7cf398ac257d6b84bdbef5a2c542bbae79cd27df363e81c10450c9b6c8e038360166480b06e701d5a5affeb7bd03a7f5d83  Mako-1.0.12.tar.gz"