Date: Monday, October 9, 2017 @ 18:24:30 Author: anthraxx Revision: 262233
addpkg: python-pytest-aiohttp 0.1.3-1 Added: python-pytest-aiohttp/ python-pytest-aiohttp/repos/ python-pytest-aiohttp/trunk/ python-pytest-aiohttp/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Added: python-pytest-aiohttp/trunk/PKGBUILD =================================================================== --- python-pytest-aiohttp/trunk/PKGBUILD (rev 0) +++ python-pytest-aiohttp/trunk/PKGBUILD 2017-10-09 18:24:30 UTC (rev 262233) @@ -0,0 +1,27 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +_pkgname=pytest-aiohttp +pkgname=python-pytest-aiohttp +pkgver=0.1.3 +pkgrel=1 +pkgdesc='pytest plugin for aiohttp support' +url='https://github.com/aio-libs/pytest-aiohttp' +arch=('any') +license=('Apache') +depends=('python' 'python-pytest' 'python-aiohttp' 'python-py') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/pytest-aiohttp/archive/v${pkgver}.tar.gz) +sha256sums=('042a9c5d0ef1df9339a649134b5098c6f798251b55e212590f42c7ca21c121b7') +sha512sums=('0dc338e5d09704f764d83833fd33243a7713c1b12264efff09c19b1c3ad48acbef7bed44e9a942c9610b1bf26680b79b0667fb6222907d3a2425723713a4994d') + +build() { + cd ${_pkgname}-${pkgver} + python setup.py build +} + +package() { + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" -O1 --skip-build + install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et:
