svn commit: r505334 - in head/devel: . py-pytest-fixture-config
Steve Wills
swills at FreeBSD.org
Sat Jun 29 09:26:40 UTC 2019
Author: swills
Date: Sat Jun 29 09:26:38 2019
New Revision: 505334
URL: https://svnweb.freebsd.org/changeset/ports/505334
Log:
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
Added:
head/devel/py-pytest-fixture-config/
head/devel/py-pytest-fixture-config/Makefile (contents, props changed)
head/devel/py-pytest-fixture-config/distinfo (contents, props changed)
head/devel/py-pytest-fixture-config/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile (contents, props changed)
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Jun 29 09:02:04 2019 (r505333)
+++ head/devel/Makefile Sat Jun 29 09:26:38 2019 (r505334)
@@ -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
Added: head/devel/py-pytest-fixture-config/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-fixture-config/Makefile Sat Jun 29 09:26:38 2019 (r505334)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= pytest-fixture-config
+PORTVERSION= 1.7.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= swills at 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>
Added: head/devel/py-pytest-fixture-config/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-fixture-config/distinfo Sat Jun 29 09:26:38 2019 (r505334)
@@ -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
Added: head/devel/py-pytest-fixture-config/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-fixture-config/pkg-descr Sat Jun 29 09:26:38 2019 (r505334)
@@ -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
More information about the svn-ports-head
mailing list