freebsd-ports/devel/py-pytest-fixture-config/Makefile
Steve Wills 5eeec81347 devel/py-pytest-fixture-config: create port
Simple configuration objects for Py.test fixtures. Allows you to skip tests
when their required config variables aren't set.

WWW: https://github.com/manahl/pytest-plugins/tree/master/pytest-fixture-config
2019-06-29 09:26:38 +00:00

25 lines
624 B
Makefile

# $FreeBSD$
PORTNAME= pytest-fixture-config
PORTVERSION= 1.7.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Fixture configuration utils for py.test
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
USE_PYTHON= autoplist concurrent distutils
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs)
.include <bsd.port.mk>