[arch-commits] Commit in hypercorn/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Mar 6 16:07:52 UTC 2022
Date: Sunday, March 6, 2022 @ 16:07:52
Author: foutrelis
Revision: 1142719
archrelease: copy trunk to community-staging-any
Added:
hypercorn/repos/community-staging-any/
hypercorn/repos/community-staging-any/PKGBUILD
(from rev 1142718, hypercorn/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: hypercorn/repos/community-staging-any/PKGBUILD (from rev 1142718, hypercorn/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-03-06 16:07:52 UTC (rev 1142719)
@@ -0,0 +1,58 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=hypercorn
+pkgver=0.13.2
+pkgrel=2
+pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn'
+url=https://gitlab.com/pgjones/hypercorn
+arch=(any)
+license=(MIT)
+depends=(
+ python-h11
+ python-h2
+ python-priority
+ python-toml
+ python-typing_extensions
+ python-wsproto
+)
+makedepends=(
+ git
+ python-pip
+ python-poetry
+)
+checkdepends=(
+ python-distlib
+ python-hypothesis
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-sugar
+ python-pytest-trio
+ python-tox
+ python-trio
+)
+optdepends=('python-trio: trio support')
+_tag=0ff11ac1eab5e0190a8b45a44c03f6f116460e64
+source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd hypercorn
+ git describe --tags
+}
+
+build() {
+ cd hypercorn
+ poetry build --format wheel
+}
+
+check() {
+ cd hypercorn
+ # tox -e py310
+}
+
+package() {
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps hypercorn/dist/*.whl
+ install -Dm 644 hypercorn/LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list