aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-flask-htmlbuilder/APKBUILD
blob: e45b8a1bef9d5cfda13d00b8b5b2de749854f945 (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
33
34
35
36
37
38
39
40
41
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flask-htmlbuilder
_pkgname=flask-htmlbuilder
pkgver=0.4
pkgrel=0
pkgdesc="Flask HTML generation extension"
url="https://pypi.python.org/pypi/Flask-HTMLBuilder"
arch="noarch"
license="MIT"
depends="python py-flask"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://github.com/majorz/flask-htmlbuilder/archive/$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="87ab4ae5af06781842790d570abf2463  flask-htmlbuilder-0.4.tar.gz"
sha256sums="e153bfd7e02c79a8b26ff92ecde8bc5d1c535aecce8d38c6c82ae09f0c5f06ec  flask-htmlbuilder-0.4.tar.gz"
sha512sums="021b8dac367b1484590ec5a2bfbc724938134beaa663087e9ddcce1bb3d678881415258161d6a56145e2443cdf344c2850113f0f38f8a7d8315eedb287014ca1  flask-htmlbuilder-0.4.tar.gz"