From 1520abdc19f88184acaa59fe183b9d5cf676bc37 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 26 May 2020 12:12:43 -0400 Subject: [PATCH] New package: python3-hypercorn-0.9.5 --- srcpkgs/python3-hypercorn/template | 23 +++++++++++++++++++++++ srcpkgs/python3-hypercorn/update | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/python3-hypercorn/template create mode 100644 srcpkgs/python3-hypercorn/update diff --git a/srcpkgs/python3-hypercorn/template b/srcpkgs/python3-hypercorn/template new file mode 100644 index 0000000000..e4d0f23e3d --- /dev/null +++ b/srcpkgs/python3-hypercorn/template @@ -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 " +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 +} diff --git a/srcpkgs/python3-hypercorn/update b/srcpkgs/python3-hypercorn/update new file mode 100644 index 0000000000..6b8926d40d --- /dev/null +++ b/srcpkgs/python3-hypercorn/update @@ -0,0 +1,2 @@ +site="${homepage}/-/tags/" +pattern="${pkgname#*-}-\K[\d.]*(?=\.tar)"