Date: Tue, 21 Jul 2020 17:28:25 +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: r542763 - in head/devel: . py-pytest-trio Message-ID: <202007211728.06LHSPRj027779@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jul 21 17:28:24 2020 New Revision: 542763 URL: https://svnweb.freebsd.org/changeset/ports/542763 Log: - Add devel/py-pytest-trio: Pytest plugin for trio This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python. WWW: https://pypi.org/project/pytest-trio/ Added: head/devel/py-pytest-trio/ head/devel/py-pytest-trio/Makefile (contents, props changed) head/devel/py-pytest-trio/distinfo (contents, props changed) head/devel/py-pytest-trio/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jul 21 17:25:27 2020 (r542762) +++ head/devel/Makefile Tue Jul 21 17:28:24 2020 (r542763) @@ -4943,6 +4943,7 @@ SUBDIR += py-pytest-timeout SUBDIR += py-pytest-tornado SUBDIR += py-pytest-translations + SUBDIR += py-pytest-trio SUBDIR += py-pytest-verbose-parametrize SUBDIR += py-pytest-virtualenv SUBDIR += py-pytest-xdist Added: head/devel/py-pytest-trio/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-trio/Makefile Tue Jul 21 17:28:24 2020 (r542763) @@ -0,0 +1,31 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= pytest-trio +PORTVERSION= 0.6.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Pytest plugin for trio + +LICENSE= MIT APACHE20 +LICENSE_COMB= dual +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}trio>=0:devel/py-trio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}async_generator>=0:devel/py-async_generator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}outcome>=0:devel/py-outcome@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs + +.include <bsd.port.mk> Added: head/devel/py-pytest-trio/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-trio/distinfo Tue Jul 21 17:28:24 2020 (r542763) @@ -0,0 +1,3 @@ +TIMESTAMP = 1594820121 +SHA256 (pytest-trio-0.6.0.tar.gz) = 9bf0a490fd177a33617e8709242293fae47934de2b51f8209eb2c0545b6ca8fe +SIZE (pytest-trio-0.6.0.tar.gz) = 37835 Added: head/devel/py-pytest-trio/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-trio/pkg-descr Tue Jul 21 17:28:24 2020 (r542763) @@ -0,0 +1,4 @@ +This is a pytest plugin to help you test projects that use Trio, a +friendly library for concurrency and async I/O in Python. + +WWW: https://pypi.org/project/pytest-trio/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007211728.06LHSPRj027779>