git: 5bc24f7e2054 - main - www/py-aiohttp-middlewares: Fix build after 8fc52b6fa184a9e74f2cba3d53a4a713115cdb87
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jun 2026 20:51:20 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5bc24f7e2054bfc512afb1b6f57bb52505d3a1e6
commit 5bc24f7e2054bfc512afb1b6f57bb52505d3a1e6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-06-26 20:45:27 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-06-26 20:45:27 +0000
www/py-aiohttp-middlewares: Fix build after 8fc52b6fa184a9e74f2cba3d53a4a713115cdb87
- Allow build with py-async_timeout 5.0.0+
- Bump PORTREVISION for package change
---
www/py-aiohttp-middlewares/Makefile | 3 ++-
www/py-aiohttp-middlewares/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/www/py-aiohttp-middlewares/Makefile b/www/py-aiohttp-middlewares/Makefile
index fcf0644eb660..f474e2a9867d 100644
--- a/www/py-aiohttp-middlewares/Makefile
+++ b/www/py-aiohttp-middlewares/Makefile
@@ -1,5 +1,6 @@
PORTNAME= aiohttp-middlewares
PORTVERSION= 2.4.0
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.1<4:www/py-aiohttp@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.2<5:devel/py-async_timeout@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.2:devel/py-async_timeout@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yarl>=1.5.1<2:www/py-yarl@${PY_FLAVOR}
USES= python
diff --git a/www/py-aiohttp-middlewares/files/patch-pyproject.toml b/www/py-aiohttp-middlewares/files/patch-pyproject.toml
new file mode 100644
index 000000000000..5351b1bc3867
--- /dev/null
+++ b/www/py-aiohttp-middlewares/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2024-08-14 16:08:07 UTC
++++ pyproject.toml
+@@ -92,7 +92,7 @@ aiohttp = "^3.8.1"
+ [tool.poetry.dependencies]
+ python = "^3.8"
+ aiohttp = "^3.8.1"
+-async-timeout = "^4.0.2"
++async-timeout = ">=4.0.2"
+ yarl = "^1.5.1"
+
+ [tool.poetry.group.dev.dependencies]