Date: Tuesday, July 4, 2017 @ 15:58:12 Author: felixonmars Revision: 242320
addpkg: python-pytest-asyncio 0.6.0-1 Added: python-pytest-asyncio/ python-pytest-asyncio/repos/ python-pytest-asyncio/trunk/ python-pytest-asyncio/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: python-pytest-asyncio/trunk/PKGBUILD =================================================================== --- python-pytest-asyncio/trunk/PKGBUILD (rev 0) +++ python-pytest-asyncio/trunk/PKGBUILD 2017-07-04 15:58:12 UTC (rev 242320) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> + +pkgname=python-pytest-asyncio +pkgver=0.6.0 +pkgrel=1 +pkgdesc="Pytest support for asyncio." +arch=('any') +license=('Apache') +url="https://github.com/pytest-dev/pytest-asyncio/" +depends=('python-pytest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz") +sha512sums=('d46d93398c69eb4164ca485c32de0166a9c7001c604999e9b6f2b29e45e1d5939a6e101203057c26e3e811f22f9a05b76e2038f258421001bc436e849acb9137') + +build() { + cd pytest-asyncio-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd pytest-asyncio-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH:$PWD/tests" py.test +} + +package() { + cd pytest-asyncio-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} Property changes on: python-pytest-asyncio/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
