# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-flask-bootstrap _pkgname=Flask-Bootstrap pkgver=3.3.2.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="1ba62fb21946586385a70590294919b0 Flask-Bootstrap-3.3.2.1.tar.gz" sha256sums="ccda318fd97e3f4b7d9ef85f732237c0f27ede7d4a7a7b7fbf899e431778344b Flask-Bootstrap-3.3.2.1.tar.gz" sha512sums="f01c24816c2969597a249d1e0eb7acb08cc2ce3b57b79ccc7266ffd3c030c37fc3e5ef654280979e3b679e1a388c8634234ba48de7362ab0755ddf3dd5d0254c Flask-Bootstrap-3.3.2.1.tar.gz"