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
This commit is contained in:
Steve Wills 2019-06-29 09:26:38 +00:00
parent 80948b43cb
commit 5eeec81347
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505334
4 changed files with 33 additions and 0 deletions

View file

@ -4833,6 +4833,7 @@
SUBDIR += py-pytest-capturelog
SUBDIR += py-pytest-cov
SUBDIR += py-pytest-django
SUBDIR += py-pytest-fixture-config
SUBDIR += py-pytest-flake8
SUBDIR += py-pytest-flakes
SUBDIR += py-pytest-forked

View file

@ -0,0 +1,25 @@
# $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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1560868529
SHA256 (pytest-fixture-config-1.7.0.tar.gz) = 41a17417721f6862ce6b40e3280fddd8e1659b2c306ec46b237d7021fec5218e
SIZE (pytest-fixture-config-1.7.0.tar.gz) = 9884

View file

@ -0,0 +1,4 @@
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