Skip to content

Commit

Permalink
www/py-webargs: Upgrade to 8.4.0
Browse files Browse the repository at this point in the history
Changelog: https://github.com/marshmallow-code/webargs/blob/dev/CHANGELOG.rst#840-2024-01-07

PR:             278211
Approved by:    submitter is maintaner
  • Loading branch information
mekanix authored and clausecker committed May 13, 2024
1 parent ba66126 commit 01dbb94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 6 additions & 8 deletions www/py-webargs/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= webargs
DISTVERSION= 8.3.0
DISTVERSION= 8.4.0
CATEGORIES= www devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

Expand All @@ -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} \
Expand All @@ -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>
6 changes: 3 additions & 3 deletions www/py-webargs/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 01dbb94

Please sign in to comment.