Skip to content

Commit

Permalink
www/py-arxiv: Update to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Nov 1, 2023
1 parent 03fb013 commit b66daab
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
5 changes: 3 additions & 2 deletions www/py-arxiv/Makefile
@@ -1,5 +1,5 @@
PORTNAME= arxiv
PORTVERSION= 1.4.8
PORTVERSION= 2.0.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
11 changes: 11 additions & 0 deletions 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",

0 comments on commit b66daab

Please sign in to comment.