aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-tempita/APKBUILD
blob: 16b7be2e93a6406d1b9b74f238add4c66cbad7d8 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-tempita
_pkgname=Tempita
pkgver=0.5.2
pkgrel=7
pkgdesc="A small templating language"
url="https://pypi.python.org/pypi/Tempita"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check" #no testsuite
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces=py-tempita # Backwards compatibility
provides=py-tempita=$pkgver-r$pkgrel # Backwards compatibility

build() {
	2to3 -w .
	python3 setup.py build
}

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

sha512sums="582d3ca35dfb2ad44491cf9e526db9f9c34c419f2b03a5ce86a7e5183f7760b380262367c062161d577c3fb3e69e39ee99bbf8e493873e1da1a350ef2f63630d  Tempita-0.5.2.tar.gz"