freebsd-ports/devel/py-jinja2-time/Makefile
Matthew Seaman 0511de595b 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'})
2018-09-21 13:17:17 +00:00

32 lines
850 B
Makefile

# $FreeBSD$
PORTNAME= jinja2-time
PORTVERSION= 0.2.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Jinja2 Extension for Dates and Times
LICENSE= MIT
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}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
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
.include <bsd.port.mk>