git: 01dbb9426766 - main - www/py-webargs: Upgrade to 8.4.0

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 13 May 2024 21:21:43 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01dbb9426766a9390f8ddbe387131d41a0bbe5fc

commit 01dbb9426766a9390f8ddbe387131d41a0bbe5fc
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2024-04-07 01:16:02 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-05-13 21:19:56 +0000

    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
---
 www/py-webargs/Makefile | 14 ++++++--------
 www/py-webargs/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/www/py-webargs/Makefile b/www/py-webargs/Makefile
index b8da6c1b6acb..8acd4d16c920 100644
--- a/www/py-webargs/Makefile
+++ b/www/py-webargs/Makefile
@@ -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>
diff --git a/www/py-webargs/distinfo b/www/py-webargs/distinfo
index 8beb9491ccdf..7a8741583e2a 100644
--- a/www/py-webargs/distinfo
+++ b/www/py-webargs/distinfo
@@ -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