[arch-commits] Commit in hypercorn/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 17:06:57 UTC 2020


    Date: Monday, November 9, 2020 @ 17:06:57
  Author: foutrelis
Revision: 747759

archrelease: copy trunk to community-staging-any

Added:
  hypercorn/repos/community-staging-any/
  hypercorn/repos/community-staging-any/PKGBUILD
    (from rev 747757, hypercorn/trunk/PKGBUILD)

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

Copied: hypercorn/repos/community-staging-any/PKGBUILD (from rev 747757, hypercorn/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 17:06:57 UTC (rev 747759)
@@ -0,0 +1,64 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=hypercorn
+pkgver=0.11.1
+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-setuptools
+)
+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=7e3b13a3865b916d63e257c87656863e2df5a61a
+source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd hypercorn
+
+  git describe --tags
+}
+
+build() {
+  cd hypercorn
+
+  python setup.py build
+}
+
+check() {
+  cd hypercorn
+
+  tox -e py39
+}
+
+package() {
+  cd hypercorn
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list