blob: b938394aa1a58f8233ee164c4cc8e57059d0617d (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Radu Potop <radu@wooptoo.com>
upstream_name=connexion
pkgname=python-connexion
pkgver=3.2.0
pkgrel=1
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=('e768ee476dc9aff13ffdce340eb45522a8dc3a51d611fd33879c73b014dc7325')
|