[arch-commits] Commit in python-aiohttp/repos/community-testing-x86_64 (2 files)
Jonas Witschel
diabonas at gemini.archlinux.org
Tue Nov 16 12:52:41 UTC 2021
Date: Tuesday, November 16, 2021 @ 12:52:41
Author: diabonas
Revision: 1048785
archrelease: copy trunk to community-testing-x86_64
Added:
python-aiohttp/repos/community-testing-x86_64/PKGBUILD
(from rev 1048784, python-aiohttp/trunk/PKGBUILD)
Deleted:
python-aiohttp/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 12:52:31 UTC (rev 1048784)
+++ PKGBUILD 2021-11-16 12:52:41 UTC (rev 1048785)
@@ -1,69 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-# Contributor: Philipp A. <flying-sheep at web.de>
-
-_pkgname=aiohttp
-pkgname=python-aiohttp
-_gitcommit=cc6dc0c49f5d002485f9a3cdf9bc3127a3ac1388
-pkgver=3.8.1
-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' 'python-charset-normalizer'
- 'python-aiosignal' 'python-frozenlist')
-makedepends=('cython' 'python-setuptools' 'git' 'npm')
-checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock'
- 'python-pytest-timeout' 'python-async_generator' 'python-brotli'
- 'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov'
- 'python-trustme' 'python-freezegun' 'gunicorn' 'python-re-assert'
- 'python-proxy.py')
-optdepends=('gunicorn: to deploy using Gunicorn'
- 'python-aiodns: for fast DNS resolving'
- 'python-cchardet: for faster encoding detection'
- 'python-brotli: for Brotli transfer-encodings support')
-source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#commit=${_gitcommit}"
- git+https://github.com/nodejs/llhttp.git)
-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/llhttp".url "${srcdir}/llhttp"
- git submodule update --recursive
- sed 's|.install-cython ||' -i Makefile
-
- # This test fails with the error "coroutine 'BaseTestServer.close' was never
- # awaited", which does not appear to be a packaging issue
- sed -i '/test_aiohttp_request_coroutine/i @pytest.mark.xfail' tests/test_client_functional.py
-}
-
-build() {
- cd ${pkgname}
- make generate-llhttp cythonize
- python setup.py build
-}
-
-check() {
- cd ${pkgname}
- local _python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-
- # Without --pythonwarnings=default, the test suite does not even start due to
- # an unrelated DeprecationWarning from python-packaging
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest --pythonwarnings=default
-}
-
-package() {
- cd ${pkgname}
- python setup.py install --root="${pkgdir}" -O1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-aiohttp/repos/community-testing-x86_64/PKGBUILD (from rev 1048784, python-aiohttp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-16 12:52:41 UTC (rev 1048785)
@@ -0,0 +1,69 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+# Contributor: Philipp A. <flying-sheep at web.de>
+
+_pkgname=aiohttp
+pkgname=python-aiohttp
+_gitcommit=cc6dc0c49f5d002485f9a3cdf9bc3127a3ac1388
+pkgver=3.8.1
+pkgrel=2
+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' 'python-charset-normalizer'
+ 'python-aiosignal' 'python-frozenlist')
+makedepends=('cython' 'python-setuptools' 'git' 'npm')
+checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock'
+ 'python-pytest-timeout' 'python-async_generator' 'python-brotli'
+ 'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov'
+ 'python-trustme' 'python-freezegun' 'gunicorn' 'python-re-assert'
+ 'python-proxy.py')
+optdepends=('gunicorn: to deploy using Gunicorn'
+ 'python-aiodns: for fast DNS resolving'
+ 'python-cchardet: for faster encoding detection'
+ 'python-brotli: for Brotli transfer-encodings support')
+source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#commit=${_gitcommit}"
+ git+https://github.com/nodejs/llhttp.git)
+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/llhttp".url "${srcdir}/llhttp"
+ git submodule update --recursive
+ sed 's|.install-cython ||' -i Makefile
+
+ # This test fails with the error "coroutine 'BaseTestServer.close' was never
+ # awaited", which does not appear to be a packaging issue
+ sed -i '/test_aiohttp_request_coroutine/i @pytest.mark.xfail' tests/test_client_functional.py
+}
+
+build() {
+ cd ${pkgname}
+ make generate-llhttp cythonize
+ python setup.py build
+}
+
+check() {
+ cd ${pkgname}
+ local _python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+
+ # Without --pythonwarnings=default, the test suite does not even start due to
+ # an unrelated DeprecationWarning from python-packaging
+ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest --pythonwarnings=default
+}
+
+package() {
+ cd ${pkgname}
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list