ports/misc/py-wurlitzer/Makefile
Rainer Hurling 4355964790 misc/py-wurlitzer: Update to 3.1.1
- fix restore after capture with optimized file pipes
- minor readme clarification
- sys_pipes: check that sys.stdout isn't being forwarded to itself

Changelog: https://github.com/minrk/wurlitzer/compare/3.1.0...3.1.1

Reported by:	Repology
2024-06-14 18:07:59 +02:00

26 lines
729 B
Makefile

PORTNAME= wurlitzer
PORTVERSION= 3.1.1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Capture C-level output in context managers
WWW= https://github.com/minrk/wurlitzer
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-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
# make tests: 14 passed, 1 skipped (test.py:168: requires _get_max_pipe_size)
TEST_ARGS= test.py
.include <bsd.port.mk>