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:
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
|
@ -4833,6 +4833,7 @@
|
||||||
SUBDIR += py-pytest-capturelog
|
SUBDIR += py-pytest-capturelog
|
||||||
SUBDIR += py-pytest-cov
|
SUBDIR += py-pytest-cov
|
||||||
SUBDIR += py-pytest-django
|
SUBDIR += py-pytest-django
|
||||||
|
SUBDIR += py-pytest-fixture-config
|
||||||
SUBDIR += py-pytest-flake8
|
SUBDIR += py-pytest-flake8
|
||||||
SUBDIR += py-pytest-flakes
|
SUBDIR += py-pytest-flakes
|
||||||
SUBDIR += py-pytest-forked
|
SUBDIR += py-pytest-forked
|
||||||
|
|
25
devel/py-pytest-fixture-config/Makefile
Normal file
25
devel/py-pytest-fixture-config/Makefile
Normal 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>
|
3
devel/py-pytest-fixture-config/distinfo
Normal file
3
devel/py-pytest-fixture-config/distinfo
Normal 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
|
4
devel/py-pytest-fixture-config/pkg-descr
Normal file
4
devel/py-pytest-fixture-config/pkg-descr
Normal 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
|
Loading…
Reference in a new issue