From fc34ce8dfa18d729c62d446bb7b9eb42640f4cc3 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 19 Nov 2020 11:48:25 -0500 Subject: [PATCH] python3-aiohttp: update to 3.7.3. --- srcpkgs/python3-aiohttp/template | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/srcpkgs/python3-aiohttp/template b/srcpkgs/python3-aiohttp/template index 8cdc3b797e5..2f750504163 100644 --- a/srcpkgs/python3-aiohttp/template +++ b/srcpkgs/python3-aiohttp/template @@ -1,28 +1,22 @@ # Template file for 'python3-aiohttp' pkgname=python3-aiohttp -version=3.7.2 +version=3.7.3 revision=1 wrksrc="aiohttp-${version}" build_style=python3-module -hostmakedepends="python3-Cython python3-setuptools" +hostmakedepends="python3-setuptools" makedepends="python3-devel http-parser-devel" -depends="python3-async-timeout python3-attrs python3-chardet python3-idna-ssl - python3-yarl python3-typing_extensions python3-multidict" +depends="python3-async-timeout python3-attrs python3-chardet + python3-idna-ssl python3-yarl python3-typing_extensions python3-multidict" short_desc="HTTP client/server for asyncio (PEP-3156)" maintainer="Michael Aldridge " license="Apache-2.0" homepage="https://aiohttp.readthedocs.io/" -distfiles="https://github.com/aio-libs/aiohttp/archive/v${version}.tar.gz" -checksum=22ed7395d53c03f0f4872e5cdd051330bbce33f3d81b0af9aefd48a7077db040 +distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz" +checksum=9c1a81af067e72261c9cbe33ea792893e83bc6aa987bfbd6fdc1e5e7b22777c4 pre_build() { # use system http-parser sed -i '/http_parser\.c/d' setup.py sed -i '/http_parser\.h/s/".*\//"/' aiohttp/_cparser.pxd - - # Ships without cythonized modules - local _pyx - for _pyx in aiohttp/*.pyx; do - cython -3 -o "${_pyx%.pyx}.c" -I aiohttp "${_pyx}" - done }