svn commit: r480267 - head/devel/py-jinja2-time
Matthew Seaman
matthew at FreeBSD.org
Fri Sep 21 13:17:18 UTC 2018
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>
More information about the svn-ports-all
mailing list