summaryrefslogtreecommitdiff
path: root/user/py3-mako/APKBUILD
blob: e9937c9e8dd59596168beee2b789f0e885bea0b8 (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.2.4
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="9a90d245f2c8b5e5efa283d91f762a2fffa40b7f71e7a4b66de7f66f894ad5ba2fa5c04080200b6633bb61d4308db5b5e763b26ae7d93d18efe4aebb2178006a  Mako-1.2.4.tar.gz"