blob: bae1d757c5eada413209755d568f36a199b31997 (
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
|
# Maintainer: Radu Potop <radu@wooptoo.com>
upstream_name=connexion
pkgname=python-connexion
pkgver=3.3.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")
sha256sums=('ee3a9ae364a0af8ecf19064cb5882833aed9378981ca9856b15422a8025bbcf9')
build() {
cd "$upstream_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$upstream_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|