blob: 8c0e4792df8413c36aa827c290aa709da6a96744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Dario Giovannetti <dev at dariogiovannetti dot net>
_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
}
|