diff --git a/www/py-arxiv/Makefile b/www/py-arxiv/Makefile index c4172d547cea..ed77541f8f2c 100644 --- a/www/py-arxiv/Makefile +++ b/www/py-arxiv/Makefile @@ -1,21 +1,22 @@ PORTNAME= arxiv -PORTVERSION= 1.4.8 +PORTVERSION= 2.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 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.10:textproc/py-feedparser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdoc>=0:devel/py-pdoc@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes .include diff --git a/www/py-arxiv/distinfo b/www/py-arxiv/distinfo index e379262b1225..fa718b7f714c 100644 --- a/www/py-arxiv/distinfo +++ b/www/py-arxiv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689398907 -SHA256 (arxiv-1.4.8.tar.gz) = 2a818ea749eaa62a6e24fc31d53b769b4d33ff55cfc5dda7c7b7d309a3b29373 -SIZE (arxiv-1.4.8.tar.gz) = 17104 +TIMESTAMP = 1698341091 +SHA256 (arxiv-2.0.0.tar.gz) = 97f910dadf97169793ab3fcf12e75d23cb9dac4dc7c16de8b09492cde179da9f +SIZE (arxiv-2.0.0.tar.gz) = 16499 diff --git a/www/py-arxiv/files/patch-setup.py b/www/py-arxiv/files/patch-setup.py new file mode 100644 index 000000000000..0e7140ea8abd --- /dev/null +++ b/www/py-arxiv/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-10-17 08:50:39 UTC ++++ setup.py +@@ -11,7 +11,7 @@ setup( + packages=["arxiv"], + # dependencies + python_requires=">=3.7", +- install_requires=["feedparser==6.0.10", "requests==2.31.0"], ++ install_requires=["feedparser>=6.0.10", "requests>=2.31.0"], + tests_require=["pytest", "pdoc", "ruff"], + # metadata for upload to PyPI + author="Lukas Schwab",