Skip to content
Snippets Groups Projects
Commit ac412b55 authored by Dmitry Marakasov's avatar Dmitry Marakasov
Browse files

www/py-aiohttp: update to 3.7.4.post0

PR:		256219
Approved by:	koobs (maintainer)
Security:	CVE-2021-21330
Security:	3000acee-c45d-11eb-904f-14dae9d5a9d2
MFH:		2020Q2 (bugfix, security release(s))
parent 35af594b
No related branches found
No related tags found
No related merge requests found
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
PORTNAME= aiohttp
PORTVERSION= 3.6.2
PORTREVISION= 1
DISTVERSION= 3.7.4.post0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......@@ -14,10 +13,11 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}chardet>=2.0<4.0,1:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multidict>=4.5:www/py-multidict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}chardet>=2.0<5.0,1:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multidict>=4.5<7.0:www/py-multidict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}async_timeout>=3.0<4.0:devel/py-async_timeout@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yarl>=1.0<2.0:www/py-yarl@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}yarl>=1.0<2.0:www/py-yarl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.5:devel/py-typing-extensions@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.8.2:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \
......@@ -30,15 +30,13 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.8.2:devel/py-pytest@${PY_FLAVOR}
# to be ported ${PYTHON_PKGNAMEPREFIX}brotlypy>0:archivers/py-brotlipy@${PY_FLAVOR}
# to be ported ${PYTHON_PKGNAMEPREFIX}trustme>0:security/py-trustme@${PY_FLAVOR}
# Actually 3.5.3+
USES= python:3.5+
USES= python:3.6+
USE_PYTHON= autoplist distutils cython
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30700
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}idna_ssl>=1.0:dns/py-idna_ssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.5:devel/py-typing-extensions@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}idna_ssl>=1.0:dns/py-idna_ssl@${PY_FLAVOR}
.endif
pre-configure:
......
TIMESTAMP = 1592851297
SHA256 (aiohttp-3.6.2.tar.gz) = 259ab809ff0727d0e834ac5e8a283dc5e3e0ecc30c4d80b3cd17a4139ce1f326
SIZE (aiohttp-3.6.2.tar.gz) = 1076923
TIMESTAMP = 1622602368
SHA256 (aiohttp-3.7.4.post0.tar.gz) = 493d3299ebe5f5a7c66b9819eacdcfbbaaf1a8e84911ddffcdc48888497afecf
SIZE (aiohttp-3.7.4.post0.tar.gz) = 1114888
Obtained from: https://github.com/aio-libs/aiohttp/commit/d7db1b90c59ae49660d5b469f6186d088a6d190d
--- setup.py.orig 2019-10-09 16:52:31 UTC
+++ setup.py
@@ -74,7 +74,7 @@ except IndexError:
install_requires = [
'attrs>=17.3.0',
'chardet>=2.0,<4.0',
- 'multidict>=4.5,<5.0',
+ 'multidict>=4.5,<6.0',
'async_timeout>=3.0,<4.0',
'yarl>=1.0,<2.0',
'idna-ssl>=1.0; python_version<"3.7"',
@@ -104,9 +104,12 @@ NEEDS_PYTEST = {'pytest', 'test'}.intersection(sys.arg
pytest_runner = ['pytest-runner'] if NEEDS_PYTEST else []
tests_require = [
- 'pytest', 'gunicorn',
+ 'pytest>=3.8.2', 'gunicorn',
'pytest-timeout', 'async-generator',
'pytest-xdist',
+ 'pytest-mock',
+ 'trustme',
+ 'brotlipy',
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment