Date: Friday, November 20, 2020 @ 01:24:47 Author: felixonmars Revision: 757871
archrelease: copy trunk to community-staging-x86_64 Added: python-aiohttp/repos/community-staging-x86_64/PKGBUILD (from rev 757870, python-aiohttp/trunk/PKGBUILD) Deleted: python-aiohttp/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-20 01:24:32 UTC (rev 757870) +++ PKGBUILD 2020-11-20 01:24:47 UTC (rev 757871) @@ -1,58 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Philipp A. <flying-sh...@web.de> - -_pkgname=aiohttp -pkgname=python-aiohttp -_gitcommit=6a5ab96bd9cb404b4abfd5160fe8f34a29d941e5 -pkgver=3.6.2 -pkgrel=3 -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') -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' 'python-freezegun' 'gunicorn') -optdepends=('gunicorn: to deploy using Gunicorn' - 'python-aiodns: for fast DNS resolving' - 'python-cchardet: for faster encoding detection' - 'python-brotlipy: for Brotli transfer-encodings support') -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: Copied: python-aiohttp/repos/community-staging-x86_64/PKGBUILD (from rev 757870, python-aiohttp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-20 01:24:47 UTC (rev 757871) @@ -0,0 +1,58 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Philipp A. <flying-sh...@web.de> + +_pkgname=aiohttp +pkgname=python-aiohttp +_gitcommit=2f655a59d0daedfa2a794996c4355b576c98ecc8 +pkgver=3.7.3 +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') +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' 'python-freezegun' 'gunicorn' 'python-re-assert') +optdepends=('gunicorn: to deploy using Gunicorn' + 'python-aiodns: for fast DNS resolving' + 'python-cchardet: for faster encoding detection' + 'python-brotlipy: for Brotli transfer-encodings support') +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: