diff --git a/www/py-arxiv/Makefile b/www/py-arxiv/Makefile index 29e36fa0e419..daee7ac260c8 100644 --- a/www/py-arxiv/Makefile +++ b/www/py-arxiv/Makefile @@ -1,30 +1,30 @@ PORTNAME= arxiv PORTVERSION= 3.0.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python wrapper for the arXiv API WWW= https://github.com/lukasschwab/arxiv.py LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.10<7:textproc/py-feedparser@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.32<2.34:www/py-requests@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}requests>=2.32<2.35:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdoc>=0:devel/py-pdoc@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing_extensions>=4.0.0:devel/py-typing_extensions@${PY_FLAVOR} .endif .include diff --git a/www/py-arxiv/files/patch-pyproject.toml b/www/py-arxiv/files/patch-pyproject.toml new file mode 100644 index 000000000000..6c422034c6ae --- /dev/null +++ b/www/py-arxiv/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -29,7 +29,7 @@ dependencies = [ + requires-python = ">=3.10" + dependencies = [ + "feedparser~=6.0.10", +- "requests>=2.32,<2.34", ++ "requests>=2.32,<2.35", + "typing_extensions>=4.0.0; python_version < '3.11'", + ] +