1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

www/py-webargs: Update to 7.0.1

Changelog: https://github.com/marshmallow-code/webargs/blob/dev/CHANGELOG.rst#701-2020-12-14

PR:		252440
Submitted by:	Goran Mekic <meka@tilda.center> (maintainer)
Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D28037
This commit is contained in:
Rainer Hurling 2021-01-08 13:19:11 +00:00
parent 5ffe14e382
commit 68835a6192
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560771
2 changed files with 10 additions and 19 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= webargs
PORTVERSION= 6.1.1
PORTVERSION= 7.0.1
CATEGORIES= www devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,21 +19,13 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tornado>=4.5.2:www/py-tornado@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask>=0.12.2:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}falcon>=2.0:www/py-falcon@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django*>=1.11.16:www/py-django22@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}django*>=1.11.16:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyramid>0:www/py-pyramid@${PY_FLAVOR}
# To be updated
# TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyramid>=1.9.1:www/py-pyramid@${PY_FLAVOR}
# To be ported
# TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}webapp2>=3.0.0b1:www/py-webapp2@${PY_FLAVOR}
# ${PYTHON_PKGNAMEPREFIX}webtest_aiohttp>=2.0.0:www/py-webtest_aiohttp@${PY_FLAVOR}
# Supports 2/3 but marshmallow 3.x is Python 3 only
# Requires a marshmallow2 (2.x) port
USES= python:3.5+
USES= python:3.6+
USE_GITHUB= yes # tests not packaged with PyPI sdist
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= marshmallow-code
USE_PYTHON= autoplist concurrent distutils
TEST_ENV= PYTHONPATH=${WRKSRC}/src
@ -41,10 +33,9 @@ NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
--ignore-glob='*webapp2*' \
--ignore-glob='*pyramid*' \
--ignore-glob='*test_bottleparser*' \
--ignore-glob='*test_aiohttpparser*'
--ignore-glob='*test_aiohttpparser*' \
--ignore-glob="*test_tornadoparser*"
.include <bsd.port.pre.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1599940673
SHA256 (marshmallow-code-webargs-6.1.1_GH0.tar.gz) = 553556ae403f298cbc9b5136f714e52e25041771cf5c8de174afba87481438f6
SIZE (marshmallow-code-webargs-6.1.1_GH0.tar.gz) = 79191
TIMESTAMP = 1608246575
SHA256 (marshmallow-code-webargs-7.0.1_GH0.tar.gz) = 99ed17bf8cd5968e2a8914a421a231134e187a3f671694012a691f188d3e29f4
SIZE (marshmallow-code-webargs-7.0.1_GH0.tar.gz) = 79930