git: d78038d79a6d - main - devel/py-jinja2-time: switch to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Mar 2023 11:59:39 UTC
The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=d78038d79a6d9b5fcf6d97b4c43bd8e9e663d4b8 commit d78038d79a6d9b5fcf6d97b4c43bd8e9e663d4b8 Author: Matthew Seaman <matthew@FreeBSD.org> AuthorDate: 2023-03-22 11:55:05 +0000 Commit: Matthew Seaman <matthew@FreeBSD.org> CommitDate: 2023-03-22 11:55:05 +0000 devel/py-jinja2-time: switch to USE_PYTHON=pytest Mark three tests broken: this package appears to have ceased development about 4 years ago, and some tests have bitrotted since. --- devel/py-jinja2-time/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/devel/py-jinja2-time/Makefile b/devel/py-jinja2-time/Makefile index 9a1b2dcc822e..dae8e3b6ad4c 100644 --- a/devel/py-jinja2-time/Makefile +++ b/devel/py-jinja2-time/Makefile @@ -18,15 +18,10 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes -do-test: - @cd ${WRKSRC} && \ - ${LOCALBASE}/bin/py.test-${PYTHON_VER} tests - -## This results in complaints about flake8 being too modern... -## ${LOCALBASE}/bin/flake8-${PYTHON_VER} jinja2_time setup.py tests +PYTEST_BROKEN_TESTS= test_add_time test_substract_time test_offset_with_format .include <bsd.port.mk>