www/py-prawcore: Update version 2.3.0=>2.4.0

Changelog: https://github.com/praw-dev/prawcore/releases/tag/v2.4.0
This commit is contained in:
Muhammad Moinur Rahman 2023-10-02 07:03:32 +02:00
parent f4b4855230
commit 4b6d84c130
2 changed files with 9 additions and 13 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= prawcore
PORTVERSION= 2.3.0
PORTVERSION= 2.4.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,19 +11,15 @@ WWW= https://github.com/praw-dev/prawcore
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.6.0,<3.0.0:www/py-requests@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.6.0,<3.0.0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0.8:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testfixtures>4.13.2,<7:devel/py-testfixtures@${PY_FLAVOR}
# to be ported betamax >=0.8, <0.9
# betamax-matchers >=0.3.0, <0.5
# betamax-serializers >=0.2, <0.3
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}betamax>0:www/py-betamax@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.26:net/py-urllib3@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1646761246
SHA256 (prawcore-2.3.0.tar.gz) = daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
SIZE (prawcore-2.3.0.tar.gz) = 1163513
TIMESTAMP = 1696222531
SHA256 (prawcore-2.4.0.tar.gz) = b7b2b5a1d04406e086ab4e79988dc794df16059862f329f4c6a43ed09986c335
SIZE (prawcore-2.4.0.tar.gz) = 15862