# Contributor: Fabian Affolter # Maintainer: Fabian Affolter 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"