[arch-commits] Commit in hypercorn/repos/community-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu May 23 17:21:05 UTC 2019
Date: Thursday, May 23, 2019 @ 17:21:05
Author: alucryd
Revision: 469440
archrelease: copy trunk to community-any
Added:
hypercorn/repos/community-any/PKGBUILD
(from rev 469439, hypercorn/trunk/PKGBUILD)
Deleted:
hypercorn/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 55 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-23 17:19:00 UTC (rev 469439)
+++ PKGBUILD 2019-05-23 17:21:05 UTC (rev 469440)
@@ -1,49 +0,0 @@
-# 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:
Copied: hypercorn/repos/community-any/PKGBUILD (from rev 469439, hypercorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-23 17:21:05 UTC (rev 469440)
@@ -0,0 +1,55 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=hypercorn
+pkgver=0.6.0
+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-toml
+ python-typing_extensions
+ python-wsproto
+)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-hypothesis
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-sugar
+ python-pytest-trio
+ python-tox
+ 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
+
+ tox -e py37
+}
+
+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