mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-aiohttp: update to 3.9.1
Version 3.9 is required for Python 3.12 Requires python3-async-timeout>=4 Depends on python3-aiosignal Disable tests which now depend on proxy.py and re_assert
This commit is contained in:
parent
90ec6e2e12
commit
58cfb25f80
2 changed files with 7 additions and 37 deletions
|
@ -1,30 +0,0 @@
|
||||||
From b0ed732d0a637e43c72bb1a777d02776cde37376 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
|
|
||||||
Date: Fri, 11 Dec 2020 10:24:17 +0200
|
|
||||||
Subject: [PATCH] Bump chardet from 3.0.4 to 4.0.0 (#5333)
|
|
||||||
|
|
||||||
Bumps [chardet](https://github.com/chardet/chardet) from 3.0.4 to 4.0.0.
|
|
||||||
- [Release notes](https://github.com/chardet/chardet/releases)
|
|
||||||
- [Commits](https://github.com/chardet/chardet/compare/3.0.4...4.0.0)
|
|
||||||
|
|
||||||
Signed-off-by: dependabot[bot] <support@github.com>
|
|
||||||
|
|
||||||
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
||||||
---
|
|
||||||
requirements/base.txt | 2 +-
|
|
||||||
setup.py | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git setup.py setup.py
|
|
||||||
index a9edd5d0c8..54b548c7b4 100644
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -66,7 +66,7 @@
|
|
||||||
|
|
||||||
install_requires = [
|
|
||||||
"attrs>=17.3.0",
|
|
||||||
- "chardet>=2.0,<4.0",
|
|
||||||
+ "chardet>=2.0,<5.0",
|
|
||||||
"multidict>=4.5,<7.0",
|
|
||||||
"async_timeout>=4.0a2,<5.0",
|
|
||||||
'asynctest==0.13.0; python_version<"3.8"',
|
|
|
@ -1,21 +1,21 @@
|
||||||
# Template file for 'python3-aiohttp'
|
# Template file for 'python3-aiohttp'
|
||||||
pkgname=python3-aiohttp
|
pkgname=python3-aiohttp
|
||||||
version=3.7.4
|
version=3.9.1
|
||||||
revision=5
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools python3-wheel"
|
||||||
makedepends="python3-devel http-parser-devel"
|
makedepends="python3-devel http-parser-devel"
|
||||||
depends="python3-async-timeout python3-attrs python3-chardet python3-yarl
|
depends="python3-aiosignal python3-async-timeout python3-attrs
|
||||||
python3-typing_extensions python3-multidict"
|
python3-chardet python3-yarl python3-typing_extensions python3-multidict"
|
||||||
short_desc="HTTP client/server for asyncio (PEP-3156)"
|
short_desc="HTTP client/server for asyncio (PEP-3156)"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://aiohttp.readthedocs.io/"
|
homepage="https://aiohttp.readthedocs.io/"
|
||||||
distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz"
|
||||||
checksum=5d84ecc73141d0a0d61ece0742bb7ff5751b0657dab8405f899d3ceb104cc7de
|
checksum=8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d
|
||||||
|
make_check=no # Depends on proxy.py and re_assert
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
# use system http-parser
|
# use system http-parser
|
||||||
vsed -i '/http_parser\.c/d' -i setup.py
|
vsed -i '/http_parser\.c/d' -i setup.py
|
||||||
vsed -i '/http_parser\.h/s/".*\//"/' -i aiohttp/_cparser.pxd
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue