1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
4 pkgname=python-$_pkgname
7 pkgdesc='Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support'
9 url='https://github.com/zalando/connexion'
11 depends=('python-clickclick' 'python-jsonschema' 'python-pyaml' 'python-requests'
12 'python-inflection' 'python-openapi-spec-validator' 'python-flask')
13 optdepends=('python-aiohttp: AIOHTTP backend'
14 'python-ujson: Faster JSON parsing'
15 'python-swagger-ui-bundle: Swagger UI (web UI for the API) support')
16 makedepends=('python-setuptools' 'flake8')
17 #checkdepends=('python-pytest-runner')
18 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
19 sha512sums=('34cb65b21493f3b5b24459c4bccf164e68d9f22644c30b6cdc135c6dbe9f6bb058e26a9f2ec2e314f76e157f2399f4e4e775b54f3757cb812546baa95f14555b')
30 # python setup.py test
36 python setup.py install --root="$pkgdir" --optimize=1 --skip-build