From a85bd6df34fb7ec57fbeb082835fabef952b6821 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Mon, 2 Oct 2023 13:36:47 +0200 Subject: [PATCH 1/5] New package: python3-frozenlist-1.4.0 --- srcpkgs/python3-frozenlist/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-frozenlist/template diff --git a/srcpkgs/python3-frozenlist/template b/srcpkgs/python3-frozenlist/template new file mode 100644 index 0000000000000..8c7983a4e0180 --- /dev/null +++ b/srcpkgs/python3-frozenlist/template @@ -0,0 +1,15 @@ +# Template file for 'python3-frozenlist' +pkgname=python3-frozenlist +version=1.4.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-wheel" +makedepends="python3-devel" +depends="python3" +checkdepends="python3-pytest python3-pytest-asyncio python3-pytest-cov" +short_desc="List-like structure which implements collections.abc.MutableSequence" +maintainer="Arjan Mossel " +license="Apache-2.0" +homepage="https://github.com/aio-libs/frozenlist" +distfiles="${PYPI_SITE}/f/frozenlist/frozenlist-${version}.tar.gz" +checksum=09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251 From 1db9daf4a9252f92ec66f0f025b193c66782b10d Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Mon, 2 Oct 2023 13:38:07 +0200 Subject: [PATCH 2/5] New package: python3-aiosignal-1.3.1 --- srcpkgs/python3-aiosignal/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-aiosignal/template diff --git a/srcpkgs/python3-aiosignal/template b/srcpkgs/python3-aiosignal/template new file mode 100644 index 0000000000000..25a34eeed8cb7 --- /dev/null +++ b/srcpkgs/python3-aiosignal/template @@ -0,0 +1,15 @@ +# Template file for 'python3-aiosignal' +pkgname=python3-aiosignal +version=1.3.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-frozenlist" +checkdepends="python3-pytest python3-pytest-asyncio python3-pytest-cov + python3-frozenlist" +short_desc="List of registered asynchronous callbacks" +maintainer="Arjan Mossel " +license="Apache-2.0" +homepage="https://github.com/aio-libs/aiosignal" +distfiles="${PYPI_SITE}/a/aiosignal/aiosignal-${version}.tar.gz" +checksum=54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc From c355cea668f246b6e82943da2832a097d53bcddf Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Mon, 2 Oct 2023 12:22:43 +0200 Subject: [PATCH 3/5] python3-async-timeout: update to 4.0.3. --- srcpkgs/python3-async-timeout/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-async-timeout/template b/srcpkgs/python3-async-timeout/template index 9ac63119dade0..717438a506364 100644 --- a/srcpkgs/python3-async-timeout/template +++ b/srcpkgs/python3-async-timeout/template @@ -1,9 +1,8 @@ # Template file for 'python3-async-timeout' pkgname=python3-async-timeout -version=3.0.1 -revision=6 +version=4.0.3 +revision=1 build_style=python3-module -pycompile_module="async_timeout" hostmakedepends="python3-setuptools" depends="python3" checkdepends="python3-pytest-asyncio" @@ -13,7 +12,7 @@ license="Apache-2.0" #changelog="https://raw.githubusercontent.com/aio-libs/async-timeout/master/CHANGES.rst" homepage="https://github.com/aio-libs/async-timeout" distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz" -checksum=d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949 +checksum=c63f1252d5fa878fdceb7a6894f1df6a73f92546e52a0b7999a5de429fd64ff8 do_check() { # don't enable coverage From 44d3a463a40110cf5ef6c8be392655c2135b5a54 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Mon, 2 Oct 2023 12:45:04 +0200 Subject: [PATCH 4/5] python3-aiohttp: update to 3.9.0b1 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 --- .../patches/chardet-version.patch | 30 ------------------- srcpkgs/python3-aiohttp/template | 14 ++++----- 2 files changed, 7 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/python3-aiohttp/patches/chardet-version.patch diff --git a/srcpkgs/python3-aiohttp/patches/chardet-version.patch b/srcpkgs/python3-aiohttp/patches/chardet-version.patch deleted file mode 100644 index 91cc8ca7efb18..0000000000000 --- a/srcpkgs/python3-aiohttp/patches/chardet-version.patch +++ /dev/null @@ -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] - -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"', diff --git a/srcpkgs/python3-aiohttp/template b/srcpkgs/python3-aiohttp/template index bd88c59be31dd..8b1b02dd703d9 100644 --- a/srcpkgs/python3-aiohttp/template +++ b/srcpkgs/python3-aiohttp/template @@ -1,21 +1,21 @@ # Template file for 'python3-aiohttp' pkgname=python3-aiohttp -version=3.7.4 -revision=5 +version=3.9.0b1 +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 " license="Apache-2.0" homepage="https://aiohttp.readthedocs.io/" distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz" -checksum=5d84ecc73141d0a0d61ece0742bb7ff5751b0657dab8405f899d3ceb104cc7de +checksum=d6e120b08ac168825239c64e0a850a108edb9cd17be247e25bced9b07a14a403 +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 } From 7046ae6b027d16a3c6d80f9c59db587e4dfd1a74 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Mon, 2 Oct 2023 13:52:26 +0200 Subject: [PATCH 5/5] python3-aiohttp_socks: update to 0.8.4. Use GitHub for distfiles since PyPI package does not include tests --- srcpkgs/python3-aiohttp_socks/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-aiohttp_socks/template b/srcpkgs/python3-aiohttp_socks/template index b3899c64985d6..11f8f7fc149b5 100644 --- a/srcpkgs/python3-aiohttp_socks/template +++ b/srcpkgs/python3-aiohttp_socks/template @@ -1,14 +1,14 @@ # Template file for 'python3-aiohttp_socks' pkgname=python3-aiohttp_socks -version=0.8.0 -revision=2 +version=0.8.4 +revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools python3-wheel" depends="python3-aiohttp python3-socks" -checkdepends="python3-aiohttp python3-attrs python3-socks" short_desc="SOCKS proxy connector for aiohttp" maintainer="Christian Buschau " license="Apache-2.0" homepage="https://github.com/romis2012/aiohttp-socks" -distfiles="${PYPI_SITE}/a/aiohttp_socks/aiohttp_socks-${version}.tar.gz" -checksum=927b1d3b347448f86ff5245c9ca19e40f397eb93906682be592790678c982f37 +distfiles="https://github.com/romis2012/aiohttp-socks/archive/v${version}.tar.gz" +checksum=58154eaa319968743bc18c9f4c0718e86c2312828bc1e481856409365ef4e403 +make_check=no # Requires python3-tiny-proxy