# Maintainer: Dario Giovannetti _name='flask-restinpeace' pkgname="python-${_name}" pkgver='1.4.0' pkgrel=1 pkgdesc="Create Flask REST APIs in peace." arch=('any') url="https://github.com/kynikos/lib.py.flask-rip" license=('MIT') depends=('python-flask-marshmallow' 'python-apispec' 'python-apispec-webframeworks' # python-yaml is a python-apispec optdepend, but it seems required # to use this module? # TODO: Report a bug? 'python-yaml') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") sha256sums=('02f86682c7d3e5486a3d4a68015b95299ebc18db9b1f2ba0960ff10317aad3d8') package() { cd "${srcdir}/${_name}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 }