Skip to content

Commit

Permalink
python3-aiohttp: update to 3.9.0rc0
Browse files Browse the repository at this point in the history
Version 3.9.0 is required for Python 3.12
Requires python3-async-timeout>=4
Depends on python3-aiosignal
Disable tests; now depends on proxy.py and re_assert
  • Loading branch information
ar-jan committed Nov 15, 2023
1 parent fd999d2 commit 03155cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 37 deletions.
30 changes: 0 additions & 30 deletions srcpkgs/python3-aiohttp/patches/chardet-version.patch

This file was deleted.

14 changes: 7 additions & 7 deletions srcpkgs/python3-aiohttp/template
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Template file for 'python3-aiohttp'
pkgname=python3-aiohttp
version=3.7.4
revision=5
version=3.9.0rc0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel http-parser-devel"
depends="python3-async-timeout python3-attrs python3-chardet python3-yarl
python3-typing_extensions python3-multidict"
depends="python3-aiosignal python3-async-timeout python3-attrs
python3-chardet python3-yarl python3-typing_extensions python3-multidict"
short_desc="HTTP client/server for asyncio (PEP-3156)"
maintainer="Michael Aldridge <[email protected]>"
license="Apache-2.0"
homepage="https://aiohttp.readthedocs.io/"
distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz"
checksum=5d84ecc73141d0a0d61ece0742bb7ff5751b0657dab8405f899d3ceb104cc7de
checksum=486e5d48681d9cd016ba911815f9b91cccb1f8edae44953431d0b5143995094d
make_check=no # Depends on proxy.py and re_assert

post_patch() {
# use system http-parser
vsed -i '/http_parser\.c/d' -i setup.py
vsed -i '/http_parser\.h/s/".*\//"/' -i aiohttp/_cparser.pxd
}

0 comments on commit 03155cd

Please sign in to comment.