Files
horizon-packages/srcpkgs/python3-slowapi/template
T

20 lines
713 B
Bash

# Template file for 'python3-slowapi'
pkgname=python3-slowapi
version=0.1.10
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-limits python3-redis"
checkdepends="${depends} python3-pytest python3-pytest-mock python3-fastapi python3-starlette python3-anyio python3-mock"
short_desc="Rate limiter for Starlette and FastAPI"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://github.com/laurents/slowapi"
distfiles="https://github.com/laurentS/slowapi/archive/refs/tags/v${version}.tar.gz"
checksum=bb257f8c2df497aca23bfaa53b31b495b5777e1d2f912827e6a8de03f1985438
make_check=no # unpackaged dependencies
post_install() {
vlicense LICENSE
}