[arch-commits] Commit in hypercorn (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 14:19:20 UTC 2019


    Date: Thursday, May 23, 2019 @ 14:19:20
  Author: alucryd
Revision: 469387

archrelease: copy trunk to community-any

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

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

Copied: hypercorn/repos/community-any/PKGBUILD (from rev 469386, hypercorn/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-23 14:19:20 UTC (rev 469387)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=hypercorn
+pkgver=0.6.0
+pkgrel=1
+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-toml
+  python-wsproto
+)
+makedepends=(
+  git
+  python-hypothesis
+  python-pytest
+  python-pytest-asyncio
+  python-setuptools
+  python-trio
+)
+optdepends=(
+  'python-trio: trio support'
+)
+source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd hypercorn
+
+  python setup.py build
+}
+
+check() {
+  cd hypercorn
+
+  python setup.py test
+}
+
+package() {
+  cd hypercorn
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list