1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

www/py-arxiv: Update to 2.0.0

Changes:	https://github.com/lukasschwab/arxiv.py/releases
This commit is contained in:
Po-Chuan Hsieh 2023-11-01 09:50:43 +08:00
parent 03fb0137c4
commit b66daab12a
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 17 additions and 5 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= arxiv
PORTVERSION= 1.4.8
PORTVERSION= 2.0.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,7 +10,8 @@ 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

View File

@ -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

View File

@ -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",