summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bbcc9165358511ba80aa82913544ccbc63434384 (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
# Maintainer: Carson Buttars <carsonbuttars13@gmail.com>
pkgname=python-mangum
_name=${pkgname#python-}
pkgver=0.19.0
pkgrel=1
pkgdesc="AWS Lambda support for ASGI applications "
arch=(any)
url=https://github.com/Kludex/mangum
license=(MIT)
depends=(
)
optdepends=(
)
makedepends=(
    python-build
    python-installer
    python-setuptools
    python-wheel
    python-hatchling-git
)
source=($_name-$pkgver.tar.gz::https://github.com/Kludex/$_name/archive/refs/tags/$pkgver.tar.gz)
b2sums=('0f0f8ce7a3f1ed1b7286b99f7beadf9be5261e608a1dca94d18a52c089c5c8fe72efaaa879a069f5001bb6dab482c0b11996a55a1825a8b8e0958fd06470c53d')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}