1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Fix build with py-multidict 5.0.0

Obtained from:	d7db1b90c5
Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-10-22 18:03:18 +00:00
parent 71d9425985
commit 896ba7fb8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553054
2 changed files with 13 additions and 2 deletions

View File

@ -15,7 +15,7 @@ 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:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multidict>=4.5<5.0:www/py-multidict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multidict>=4.5: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}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.8.2:devel/py-pytest@${PY_FLAVOR} \

View File

@ -1,5 +1,16 @@
--- setup.py.orig 2019-01-12 10:13:41 UTC
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 []