1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

www/py-webargs: Upgrade to 8.4.0

Changelog: https://github.com/marshmallow-code/webargs/blob/dev/CHANGELOG.rst#840-2024-01-07

PR:             278211
Approved by:    submitter is maintaner
This commit is contained in:
Goran Mekić 2024-04-07 03:16:02 +02:00 committed by Robert Clausecker
parent ba6612603a
commit 01dbb94267
2 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= webargs
DISTVERSION= 8.3.0
DISTVERSION= 8.4.0
CATEGORIES= www devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,7 +10,8 @@ WWW= https://github.com/marshmallow-code/webargs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>2.15.2:devel/py-marshmallow@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>2.15.2:devel/py-marshmallow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottle>0:www/py-bottle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django*>=1.11.16:www/py-django42@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}falcon>=2.0:www/py-falcon@${PY_FLAVOR} \
@ -25,15 +26,12 @@ CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes # tests not packaged with PyPI sdist
GH_ACCOUNT= marshmallow-code
USE_PYTHON= autoplist concurrent distutils pytest
TEST_ARGS= --ignore-glob='*test_bottleparser*' \
--ignore-glob='*test_aiohttpparser*' \
--ignore-glob='*test_tornadoparser*'
TEST_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
--ignore-glob='*test_bottleparser*' \
--ignore-glob='*test_aiohttpparser*' \
--ignore-glob="*test_tornadoparser*"
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1692136038
SHA256 (marshmallow-code-webargs-8.3.0_GH0.tar.gz) = 2bbdd9b546d4e66e7d74e41b34d0b8c630c8e6bb3dca34407b06438a4e3c5561
SIZE (marshmallow-code-webargs-8.3.0_GH0.tar.gz) = 98608
TIMESTAMP = 1712450867
SHA256 (marshmallow-code-webargs-8.4.0_GH0.tar.gz) = c4cfdf7ec564ff5f6b37234d60fbd49e4e49f673d2cfeec5bed4909c84f1f46f
SIZE (marshmallow-code-webargs-8.4.0_GH0.tar.gz) = 100217