Date: Sun, 22 Nov 2020 23:41:09 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r556080 - in head/devel: . py-pytest-datadir Message-ID: <202011222341.0AMNf9Qe045745@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Nov 22 23:41:08 2020 New Revision: 556080 URL: https://svnweb.freebsd.org/changeset/ports/556080 Log: - Add devel/py-pytest-datadir pytest plugin for manipulating test data directories and files. WWW: https://pypi.org/project/pytest-datadir/ WWW: https://github.com/gabrielcnr/pytest-datadir Added: head/devel/py-pytest-datadir/ head/devel/py-pytest-datadir/Makefile (contents, props changed) head/devel/py-pytest-datadir/distinfo (contents, props changed) head/devel/py-pytest-datadir/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Nov 22 23:39:29 2020 (r556079) +++ head/devel/Makefile Sun Nov 22 23:41:08 2020 (r556080) @@ -4913,6 +4913,7 @@ SUBDIR += py-pytest-cache SUBDIR += py-pytest-capturelog SUBDIR += py-pytest-cov + SUBDIR += py-pytest-datadir SUBDIR += py-pytest-django SUBDIR += py-pytest-env SUBDIR += py-pytest-factoryboy Added: head/devel/py-pytest-datadir/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-datadir/Makefile Sun Nov 22 23:41:08 2020 (r556080) @@ -0,0 +1,27 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= pytest-datadir +PORTVERSION= 1.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= pytest plugin for test data directories and files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes +TEST_ENV= PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}" + +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs + +.include <bsd.port.mk> Added: head/devel/py-pytest-datadir/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-datadir/distinfo Sun Nov 22 23:41:08 2020 (r556080) @@ -0,0 +1,3 @@ +TIMESTAMP = 1605971597 +SHA256 (pytest-datadir-1.3.1.tar.gz) = d3af1e738df87515ee509d6135780f25a15959766d9c2b2dbe02bf4fb979cb18 +SIZE (pytest-datadir-1.3.1.tar.gz) = 15230 Added: head/devel/py-pytest-datadir/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-datadir/pkg-descr Sun Nov 22 23:41:08 2020 (r556080) @@ -0,0 +1,4 @@ +pytest plugin for manipulating test data directories and files. + +WWW: https://pypi.org/project/pytest-datadir/ +WWW: https://github.com/gabrielcnr/pytest-datadir
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011222341.0AMNf9Qe045745>