blob: 2a171cdfd33e613b047ff3e52eaaa9382ab33c27 (
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
|
# Maintainer: Radu Potop <radu@wooptoo.com>
upstream_name=a2wsgi
pkgname=python-a2wsgi
pkgver=1.10.7
pkgrel=1
pkgdesc='Converts WSGI apps to ASGI apps or the other way around'
arch=(any)
url="https://github.com/abersheeran/$upstream_name"
license=("Apache-2.0")
depends=("python")
makedepends=("python-build" "python-installer" "python-pdm-backend")
source=("${url}/archive/refs/tags/v${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=('6cebe9ea6f05f06fbe09637a8a074ffe59c63b6a0d8d2153b1fd93531896ba50')
|