summaryrefslogtreecommitdiff
path: root/user/py3-mako/APKBUILD
blob: 66deec9130bb2d30291de0be35248b0263cd2ccd (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
33
# 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.1.6
pkgrel=0
pkgdesc="Fast templating language for Python"
url="http://www.makotemplates.org/"
arch="noarch"
# Certified net clean
license="MIT"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-markupsafe py3-mock py3-pbr py3-pluggy py3-py py3-pytest
	py3-six py3-iniconfig py3-toml"
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	py.test
}

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

sha512sums="e87d883d7a549a902bb2e16d20306ccd3dd7b3bf855dfdaff20477dd182a782a5cecbdc447e4b1607f190a7b0febcca001333137f7cac6ffa674824c2a2fd1bb  Mako-1.1.6.tar.gz"