Skip to content

Commit

Permalink
www/py-aiohttp: Update to 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Nov 27, 2023
1 parent 1976a3c commit 41fd2bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 8 additions & 4 deletions www/py-aiohttp/Makefile
@@ -1,5 +1,5 @@
PORTNAME= aiohttp
PORTVERSION= 3.8.6
PORTVERSION= 3.9.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -15,9 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.0<5.0:devel/py-async_timeout@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2.0<4.0:textproc/py-charset-normalizer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}frozenlist>=1.1.1:devel/py-frozenlist@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multidict>=4.5<7.0:www/py-multidict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yarl>=1.0<2.0:www/py-yarl@${PY_FLAVOR}
Expand All @@ -32,6 +30,12 @@ USE_PYTHON= autoplist concurrent cython pep517 pytest

CPE_VENDOR= aiohttp_project

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 31100
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0<5.0:devel/py-async_timeout@${PY_FLAVOR}
.endif

pre-configure:
.for file in _helpers _http_parser _http_writer _websocket
@cd ${WRKSRC} && ${RM} aiohttp/${file}.c && cython-${PYTHON_VER} -3 -I aiohttp -o aiohttp/${file}.c aiohttp/${file}.pyx
Expand All @@ -40,4 +44,4 @@ pre-configure:
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

.include <bsd.port.mk>
.include <bsd.port.post.mk>
6 changes: 3 additions & 3 deletions www/py-aiohttp/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1696753690
SHA256 (aiohttp-3.8.6.tar.gz) = b0cf2a4501bff9330a8a5248b4ce951851e415bdcce9dc158e76cfd55e15085c
SIZE (aiohttp-3.8.6.tar.gz) = 7352172
TIMESTAMP = 1700759874
SHA256 (aiohttp-3.9.0.tar.gz) = 09f23292d29135025e19e8ff4f0a68df078fe4ee013bca0105b2e803989de92d
SIZE (aiohttp-3.9.0.tar.gz) = 7475063

0 comments on commit 41fd2bd

Please sign in to comment.