git: e77224a00d55 - main - www/py-spyne: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:52 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e77224a00d55f960e31798b07ff7c079394dbf9d commit e77224a00d55f960e31798b07ff7c079394dbf9d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 16:57:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 16:57:41 +0000 www/py-spyne: Convert to USE_PYTHON=pytest --- www/py-spyne/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/www/py-spyne/Makefile b/www/py-spyne/Makefile index 9a5f6ba189ad..db795b63dfd9 100644 --- a/www/py-spyne/Makefile +++ b/www/py-spyne/Makefile @@ -22,7 +22,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.2:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyramid>=0:www/py-pyramid@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=2.9:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-django>=0:devel/py-pytest-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-twisted>=0:devel/py-pytest-twisted@${PY_FLAVOR} \ @@ -37,11 +36,9 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}zeep>=0:net/py-zeep@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes - -do-test: - cd ${WRKSRC} && ${SETENV} DJANGO_SETTINGS_MODULE=rpctest.settings PYTHONPATH=examples/django ${PYTHON_CMD} -m pytest -rs -v +TEST_ENV= DJANGO_SETTINGS_MODULE=rpctest.settings PYTHONPATH=examples/django .include <bsd.port.mk>