367143454e
- Change from distutils to pep517 - Remove dependency devel/py-codecov - Bump portrevision
29 lines
771 B
Makefile
29 lines
771 B
Makefile
PORTNAME= wurlitzer
|
|
PORTVERSION= 3.1.1
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
TEST_DEPENDS= ${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 pep517 pytest
|
|
|
|
NO_ARCH= yes
|
|
# make tests: 15 passed, 1 skipped (test.py:178: requires _get_max_pipe_size)
|
|
TEST_ARGS= test.py
|
|
|
|
.include <bsd.port.mk>
|