Date: Fri, 21 Sep 2018 13:17:18 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480267 - head/devel/py-jinja2-time Message-ID: <201809211317.w8LDHIj9050703@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matthew Date: Fri Sep 21 13:17:17 2018 New Revision: 480267 URL: https://svnweb.freebsd.org/changeset/ports/480267 Log: tox is apparently incompatible with poudriere style testing, so just run what tox would have done directly. In this case, the flake8 test always fails due to a version conflict: pkg_resources.ContextualVersionConflict: (pyflakes 2.0.0 (/usr/local/lib/python3.6/site-packages), Requirement.parse('pyflakes<1.7.0,>=1.5.0'), {'flake8'}) Modified: head/devel/py-jinja2-time/Makefile Modified: head/devel/py-jinja2-time/Makefile ============================================================================== --- head/devel/py-jinja2-time/Makefile Fri Sep 21 13:09:57 2018 (r480266) +++ head/devel/py-jinja2-time/Makefile Fri Sep 21 13:17:17 2018 (r480267) @@ -14,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}arrow>0:devel/py-arrow@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} USES= python @@ -24,6 +23,10 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes do-test: - @cd ${WRKSRC} && ${LOCALBASE}/bin/tox-${PYTHON_VER} + @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 .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809211317.w8LDHIj9050703>