Date: Thursday, May 23, 2019 @ 17:13:54 Author: alucryd Revision: 469436
add python-trio-asyncio Added: python-trio-asyncio/ python-trio-asyncio/trunk/ python-trio-asyncio/trunk/PKGBUILD Modified: hypercorn/trunk/PKGBUILD ------------------------------------+ hypercorn/trunk/PKGBUILD | 11 +++++++-- python-trio-asyncio/trunk/PKGBUILD | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) Modified: hypercorn/trunk/PKGBUILD =================================================================== --- hypercorn/trunk/PKGBUILD 2019-05-23 16:58:27 UTC (rev 469435) +++ hypercorn/trunk/PKGBUILD 2019-05-23 17:13:54 UTC (rev 469436) @@ -2,7 +2,7 @@ pkgname=hypercorn pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn' url=https://gitlab.com/pgjones/hypercorn arch=(any) @@ -11,14 +11,19 @@ python-h11 python-h2 python-toml + python-typing_extensions python-wsproto ) makedepends=( git + python-setuptools +) +checkdepends=( python-hypothesis python-pytest python-pytest-asyncio - python-setuptools + python-pytest-sugar + python-tox python-trio ) optdepends=( @@ -36,7 +41,7 @@ check() { cd hypercorn - python setup.py test + tox -e py37 } package() { Added: python-trio-asyncio/trunk/PKGBUILD =================================================================== --- python-trio-asyncio/trunk/PKGBUILD (rev 0) +++ python-trio-asyncio/trunk/PKGBUILD 2019-05-23 17:13:54 UTC (rev 469436) @@ -0,0 +1,40 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=python-trio-asyncio +pkgver=0.10.0 +pkgrel=1 +pkgdesc='A re-implementation of the asyncio mainloop on top of Trio' +arch=(any) +url=https://github.com/python-trio/trio-asyncio +license=( + APACHE + MIT +) +depends=( + python + python-async_generator + python-outcome + python-trio +) +makedepends=( + git + python-setuptools +) +source=(git+https://github.com/python-trio/trio-asyncio.git#tag=v${pkgver}) +sha256sums=(SKIP) + +build() { + cd trio-asyncio + + python setup.py build +} + +package() { + cd trio-asyncio + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/ + install -Dm 644 LICENSE.MIT -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/ +} + +# vim: ts=2 sw=2 et: