Date: Tue, 24 Dec 2019 08:27:27 +0000 (UTC) From: Ben Woods <woodsb02@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520787 - in head/devel: . py-pytest-factoryboy Message-ID: <201912240827.xBO8RRwa055795@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: woodsb02 Date: Tue Dec 24 08:27:27 2019 New Revision: 520787 URL: https://svnweb.freebsd.org/changeset/ports/520787 Log: Add new port devel/py-pytest-factoryboy Pytest-factoryboy makes it easy to combine factory approach to the test setup with the dependency injection, heart of the pytest fixtures. WWW: https://github.com/pytest-dev/pytest-factoryboy PR: 242806 Submitted by: Goran Mekić <meka@tilda.center> Added: head/devel/py-pytest-factoryboy/ head/devel/py-pytest-factoryboy/Makefile (contents, props changed) head/devel/py-pytest-factoryboy/distinfo (contents, props changed) head/devel/py-pytest-factoryboy/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Dec 24 08:12:05 2019 (r520786) +++ head/devel/Makefile Tue Dec 24 08:27:27 2019 (r520787) @@ -4898,6 +4898,7 @@ SUBDIR += py-pytest-capturelog SUBDIR += py-pytest-cov SUBDIR += py-pytest-django + SUBDIR += py-pytest-factoryboy SUBDIR += py-pytest-fixture-config SUBDIR += py-pytest-flake8 SUBDIR += py-pytest-flakes Added: head/devel/py-pytest-factoryboy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-factoryboy/Makefile Tue Dec 24 08:27:27 2019 (r520787) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= pytest-factoryboy +PORTVERSION= 2.0.3 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Factory approach to testing with the dependency injection + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}inflection>=0:devel/py-inflection@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}factory-boy>=0:devel/py-factory-boy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes # tests not shiped with sdist +GH_ACCOUNT= pytest-dev +USE_PYTHON= autoplist concurrent distutils + +TEST_ENV= PYTHONPATH=${WRKSRC}/src + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= + +.include <bsd.port.mk> Added: head/devel/py-pytest-factoryboy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-factoryboy/distinfo Tue Dec 24 08:27:27 2019 (r520787) @@ -0,0 +1,3 @@ +TIMESTAMP = 1577031612 +SHA256 (pytest-dev-pytest-factoryboy-2.0.3_GH0.tar.gz) = 09c912d4a404a87caaf1c462defa345bf26ed1c55db4e1b09c954990c55863d6 +SIZE (pytest-dev-pytest-factoryboy-2.0.3_GH0.tar.gz) = 16879 Added: head/devel/py-pytest-factoryboy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-factoryboy/pkg-descr Tue Dec 24 08:27:27 2019 (r520787) @@ -0,0 +1,4 @@ +Pytest-factoryboy makes it easy to combine factory approach to the test setup +with the dependency injection, heart of the pytest fixtures. + +WWW: https://github.com/pytest-dev/pytest-factoryboy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912240827.xBO8RRwa055795>