Date: Wednesday, September 11, 2019 @ 08:19:46 Author: anthraxx Revision: 509271
archrelease: copy trunk to community-x86_64 Added: python-aiohttp/repos/community-x86_64/PKGBUILD (from rev 509270, python-aiohttp/trunk/PKGBUILD) Deleted: python-aiohttp/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 106 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 54 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-11 08:19:42 UTC (rev 509270) +++ PKGBUILD 2019-09-11 08:19:46 UTC (rev 509271) @@ -1,52 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Philipp A. <flying-sh...@web.de> - -_pkgname=aiohttp -pkgname=python-aiohttp -_gitcommit=f6f647eb828fa738610d61481f11fa51e42599e9 -pkgver=3.5.4 -pkgrel=1 -pkgdesc='HTTP client/server for asyncio' -url='https://aiohttp.readthedocs.io' -arch=('x86_64') -license=('Apache') -depends=('python' 'python-chardet' 'python-multidict' 'python-async-timeout' - 'python-yarl' 'python-attrs' 'gunicorn') -makedepends=('cython' 'python-setuptools' 'git') -checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock' - 'python-pytest-timeout' 'python-async_generator' 'python-brotlipy' - 'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov' - 'python-trustme') -source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#commit=${_gitcommit}" - git+https://github.com/nodejs/http-parser) -sha512sums=('SKIP' - 'SKIP') - -pkgver() { - cd ${pkgname} - git describe --always --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} - -prepare() { - cd ${pkgname} - git submodule init - git config submodule."vendor/http-parser".url "${srcdir}/http-parser" - git submodule update --recursive -} - -build() { - cd ${pkgname} - python setup.py build -} - -check() { - cd ${pkgname} - python setup.py test -} - -package() { - cd ${pkgname} - python setup.py install --root="${pkgdir}" -O1 --skip-build -} - -# vim: ts=2 sw=2 et: Copied: python-aiohttp/repos/community-x86_64/PKGBUILD (from rev 509270, python-aiohttp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-11 08:19:46 UTC (rev 509271) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Philipp A. <flying-sh...@web.de> + +_pkgname=aiohttp +pkgname=python-aiohttp +_gitcommit=b33540cafa432503baa517d0fd76abf67b647598 +pkgver=3.6.0 +pkgrel=1 +pkgdesc='HTTP client/server for asyncio' +url='https://aiohttp.readthedocs.io' +arch=('x86_64') +license=('Apache') +depends=('python' 'python-chardet' 'python-multidict' 'python-async-timeout' + 'python-yarl' 'python-attrs' 'gunicorn') +makedepends=('cython' 'python-setuptools' 'git') +checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock' + 'python-pytest-timeout' 'python-async_generator' 'python-brotlipy' + 'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov' + 'python-trustme') +source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#commit=${_gitcommit}" + git+https://github.com/nodejs/http-parser) +sha512sums=('SKIP' + 'SKIP') + +pkgver() { + cd ${pkgname} + git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd ${pkgname} + git submodule init + git config submodule."vendor/http-parser".url "${srcdir}/http-parser" + git submodule update --recursive + sed 's|.install-cython ||' -i Makefile +} + +build() { + cd ${pkgname} + make cythonize + python setup.py build +} + +check() { + cd ${pkgname} + python setup.py test +} + +package() { + cd ${pkgname} + python setup.py install --root="${pkgdir}" -O1 --skip-build +} + +# vim: ts=2 sw=2 et: