summaryrefslogtreecommitdiff
path: root/testing/py3-starlette/APKBUILD
blob: 0d4466fc5ba9c67e590a30232f92037302602fff (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
# Contributor: Marten Ringwelski <git+alpine@maringuu.de>
# Maintainer: Marten Ringwelski <git+alpine@maringuu.de>
pkgname=py3-starlette
pkgver=0.20.4
pkgrel=1
pkgdesc="A lightweight ASGI framework/toolkit, which is ideal for building async web services in Python"
url="https://github.com/encode/starlette"
arch="noarch !armhf !ppc64le" # limited by py3-anyio
license="MIT"
depends="
	py3-anyio
	python3
	"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/encode/starlette/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/starlette-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
481a095ada3140164abae89026da36c90657d8ccabb0a6753094bf7fdf47ce6f789320ed15e94d15dedffaf302691e204cb541c26a4c779848aa6505dfe52b2f  py3-starlette-0.20.4.tar.gz
"