# Maintainer: Radu Potop upstream_name=connexion pkgname=python-connexion pkgver=3.0.6 pkgrel=3 pkgdesc="Connexion is a modern Python web framework that makes spec-first and api-first development easy" arch=(any) url="https://github.com/spec-first/$upstream_name" license=("Apache-2.0") depends=( "python" "python-a2wsgi" "python-asgiref" "python-clickclick" "python-flask" "python-httpx" "python-inflection" "python-jinja" "python-python-multipart" "python-requests" "python-starlette" "python-werkzeug" ) makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel") source=("${url}/archive/refs/tags/${pkgver}.tar.gz") build() { cd "$upstream_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$upstream_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl } sha256sums=('08fe28494cc2a288c58cd1fc2bff69ece9014977ae7dabd0883bee66323532e6')