# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-flask-restaction _pkgname=flask-restaction pkgver=0.19.4 pkgrel=0 pkgdesc="Flask RESTful API extension" url="https://pypi.python.org/pypi/flask-restaction" arch="noarch" license="MIT" 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.zip" _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="12e8154b770392fb8023660915ddaab6 flask-restaction-0.19.4.zip" sha256sums="384cbf5094e3c53784a0f0e92503cef240978bde2260f6116bfc021bd5620e8e flask-restaction-0.19.4.zip" sha512sums="47abf2195f02e0363da5a21e68bc22f6a50ee9e1dfc42d26f04e7ec7214748907012e2692c8573ed882712646d87b53ae3b0396bcd48afc627e89137e49c6628 flask-restaction-0.19.4.zip"