Date: Friday, March 29, 2019 @ 03:43:25 Author: felixonmars Revision: 445943
archrelease: copy trunk to community-any Added: python-pytest-tornado/repos/community-any/PKGBUILD (from rev 445942, python-pytest-tornado/trunk/PKGBUILD) Deleted: python-pytest-tornado/repos/community-any/PKGBUILD ----------+ PKGBUILD | 65 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-29 03:43:04 UTC (rev 445942) +++ PKGBUILD 2019-03-29 03:43:25 UTC (rev 445943) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-tornado -pkgver=0.5.0 -pkgrel=1 -pkgdesc='A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.' -arch=('any') -license=('Apache') -url='https://github.com/eugeniy/pytest-tornado' -depends=('python-pytest' 'python-tornado') -source=("$pkgname-$pkgver.tar.gz::https://github.com/eugeniy/pytest-tornado/archive/v$pkgver.tar.gz") -sha512sums=('d246bd920933b2a5155b4808afb23580f0f78c1f200a698face550f18e6ec1f53317ac010fe882b4114539495c1e4ef650bc68011069850ea0a5bd20e6004df0') - -build() { - cd pytest-tornado-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - - cd pytest-tornado-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test -} - -package() { - cd pytest-tornado-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-pytest-tornado/repos/community-any/PKGBUILD (from rev 445942, python-pytest-tornado/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-29 03:43:25 UTC (rev 445943) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-tornado +pkgver=0.6.0 +pkgrel=1 +pkgdesc='A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.' +arch=('any') +license=('Apache') +url='https://github.com/eugeniy/pytest-tornado' +depends=('python-pytest' 'python-tornado') +source=("$pkgname-$pkgver.tar.gz::https://github.com/eugeniy/pytest-tornado/archive/v$pkgver.tar.gz") +sha512sums=('0868d4c0c0b026cdc66a63a98f469bf059b32b161e96f61df39e9ebbee8547c624458b820d07b88f6c3460a2e004352728245258f6bb9f28a088f140ff01e26c') + +build() { + cd pytest-tornado-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd pytest-tornado-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test +} + +package() { + cd pytest-tornado-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: