New package: python3-hypercorn-0.9.5

This commit is contained in:
Andrew J. Hesford 2020-05-26 12:12:43 -04:00 committed by Piraty
parent ca36c7afde
commit 1520abdc19
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# Template file for 'python3-hypercorn'
pkgname=python3-hypercorn
version=0.9.5
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="
python3-h11 python3-hyper-h2 python3-priority
python3-toml python3-typing_extensions python3-wsproto
"
short_desc="Python ASGI server based on hyper and inspired by gunicorn"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://gitlab.com/pgjones/hypercorn"
changelog="https://gitlab.com/pgjones/hypercorn/-/blob/master/CHANGELOG.rst"
distfiles="${homepage}/-/archive/${version}/${pkgname#*-}-${version}.tar.gz"
checksum=a4ffdeaec1420ed777ef432f6cbbc7f5087c1eba1f1f15f9cd136de353a69b49
post_install() {
vlicense LICENSE
}

View file

@ -0,0 +1,2 @@
site="${homepage}/-/tags/"
pattern="${pkgname#*-}-\K[\d.]*(?=\.tar)"