# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-flask-restless _pkgname=Flask-Restless pkgver=0.17.0 pkgrel=0 pkgdesc="Flask ReSTful API generation extension" url="https://pypi.python.org/pypi/Flask-Restless" arch="noarch" license="BSD" depends="python3 py3-flask" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-flask-restless" # Backwards compatibility provides="py-flask-restless=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="c7fc7ee0626f010af528fce02dcfb896673c5ba81e9815acc50f5060a826a95a7f5c5af966a3bc6f222416d161dad70cad25acb43e9575621d036f0315d526d3 Flask-Restless-0.17.0.tar.gz"