Changelog: https://github.com/minrk/wurlitzer/blob/master/CHANGELOG.md Reported by: portscout, Repology
29 lines
774 B
Makefile
29 lines
774 B
Makefile
# Created by: Rainer Hurling <rhurlin@gwdg.de>
|
|
|
|
PORTNAME= wurlitzer
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= misc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rhurlin@FreeBSD.org
|
|
COMMENT= Capture C-level output in context managers
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -x -v test.py
|
|
|
|
.include <bsd.port.mk>
|