e4c47fe487
Pytest parametrize hook to generate ids for parametrized tests that are a little more descriptive than the default (which just outputs id numbers). WWW: https://github.com/manahl/pytest-plugins/tree/master/pytest-verbose-parametrize
26 lines
661 B
Makefile
26 lines
661 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pytest-verbose-parametrize
|
|
PORTVERSION= 1.7.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Parametrize hook to generate ids for parametrized tests
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git>=0:devel/py-setuptools-git@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:-3.7
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs)
|
|
|
|
.include <bsd.port.mk>
|