aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-bootstrap/APKBUILD
blob: 3266423295352183d9e9fc0a78016ab4e07e3b8e (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-bootstrap
_pkgname=Flask-Bootstrap
pkgver=3.0.3.1
pkgrel=0
pkgdesc="Flask bootstrap extension"
url="https://pypi.python.org/pypi/Flask-Bootstrap"
arch="noarch"
license="BSD"
depends="python py-flask"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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="339d337f81c260c6ab278c1b9abef11a  Flask-Bootstrap-3.0.3.1.tar.gz"
sha256sums="0d3cefff1a7de8258ba22c97291af36fc42e38c1704c2f41be802bd450d2d64c  Flask-Bootstrap-3.0.3.1.tar.gz"
sha512sums="bee3fb8adf06d8dec07cdfdb1655a97bc3beb28c25b6ed1298880dd30939101222445f9b4e88b2f4ced5a49e21dff57973693a8e5bbc72a0f60927ccf251e6aa  Flask-Bootstrap-3.0.3.1.tar.gz"