Date: Mon, 17 Feb 2020 09:05:28 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526354 - in head/devel: . py-pytest-flask Message-ID: <202002170905.01H95SV1054467@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Mon Feb 17 09:05:27 2020 New Revision: 526354 URL: https://svnweb.freebsd.org/changeset/ports/526354 Log: [NEW] devel/py-pytest-flask: Set of py.test fixtures to test Flask applications An extension of pytest test runner which provides a set of useful tools to simplify testing and development of the Flask extensions and applications. WWW: https://github.com/pytest-dev/pytest-flask PR: 242786 Submitted by: Goran Mekić <meka tilda center> Added: head/devel/py-pytest-flask/ head/devel/py-pytest-flask/Makefile (contents, props changed) head/devel/py-pytest-flask/distinfo (contents, props changed) head/devel/py-pytest-flask/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Feb 17 08:44:35 2020 (r526353) +++ head/devel/Makefile Mon Feb 17 09:05:27 2020 (r526354) @@ -4848,6 +4848,7 @@ SUBDIR += py-pytest-fixture-config SUBDIR += py-pytest-flake8 SUBDIR += py-pytest-flakes + SUBDIR += py-pytest-flask SUBDIR += py-pytest-forked SUBDIR += py-pytest-helpers-namespace SUBDIR += py-pytest-isort Added: head/devel/py-pytest-flask/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-flask/Makefile Mon Feb 17 09:05:27 2020 (r526354) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= pytest-flask +PORTVERSION= 0.15.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Set of py.test fixtures to test Flask applications + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.7:www/py-werkzeug@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=3.6:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} + +USES= python +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-flask/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-flask/distinfo Mon Feb 17 09:05:27 2020 (r526354) @@ -0,0 +1,3 @@ +TIMESTAMP = 1581929217 +SHA256 (pytest-flask-0.15.1.tar.gz) = cbd8c5b9f8f1b83e9c159ac4294964807c4934317a5fba181739ac15e1b823e6 +SIZE (pytest-flask-0.15.1.tar.gz) = 24207 Added: head/devel/py-pytest-flask/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-flask/pkg-descr Mon Feb 17 09:05:27 2020 (r526354) @@ -0,0 +1,4 @@ +An extension of pytest test runner which provides a set of useful tools to +simplify testing and development of the Flask extensions and applications. + +WWW: https://github.com/pytest-dev/pytest-flask
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002170905.01H95SV1054467>